mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 13:02:01 +03:00
3d0c19f8fb
The :format command is often called from a BufWritePre hook to format the current buffer, however the :format command itself calls `:write` to store the buffer in a temporary location, potentially causing an infinite recursion. If we disable hooks while running :format, there's no danger of that occurring. |
||
---|---|---|
.. | ||
asciidoc.kak | ||
c-family.kak | ||
comment.kak | ||
diff.kak | ||
doc.kak | ||
formatter.kak | ||
grep.kak | ||
kakrc.kak | ||
make.kak | ||
makefile.kak | ||
man.kak | ||
python.kak | ||
sh.kak |