diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2022-06-24 10:52:56 +0200 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2022-06-26 18:09:34 +0200 |
| commit | d891e7e63ee8d9c918fb85000655d46325e20608 (patch) | |
| tree | 4f0b84fc708283b591a2c45dd20dacb5d6bef23b /test/indent/javascript | |
| parent | 6565f6edd700a1490c670f4e60cd52f7f78dbbe5 (diff) | |
Rename Go auto-insertion hooks to make it easier to disable them
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".
Diffstat (limited to 'test/indent/javascript')
0 files changed, 0 insertions, 0 deletions
