mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-23 23:34:12 +03:00
d891e7e63e
The canonical way to disable all auto-insertion hooks is set-option global disabled_hooks .*-insert A recent change allowed to disable hooks that insert ) and } independent of hooks that insert // (a step in the right direction, we should do it for more filetypes). Since the new hook ("go-insert-closing-delimiter") doesn't match .*-insert, it broke the above snippet. Fix this by renaming it to "go-closing-delimiter-insert". This makes it a bit less obvious how to disable only comment insertion. Not sure if there's interest in that, but make it easier by renaming "go-insert" to "go-comment-insert". |
||
---|---|---|
.. | ||
deindent-function-closing-brace | ||
deindent-generic-closing-brace | ||
deindent-if-closing-brace | ||
insert-comment |