diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-10-16 20:19:43 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-10-16 20:45:53 +1100 |
| commit | e4fb70ebec80edcd17f0e00823780e4798a3fb1a (patch) | |
| tree | 8e45c2e340a63ca05aa73f8a44bf3c9d59494c0b /rc/filetype/sh.kak | |
| parent | 3a36a2486e12be9150e28fa81ac707d65c425d45 (diff) | |
Replace ModeChange hooks by ModePush and ModePop
Remove deprecated InsertBegin, InsertEnd, NormalBegin, NormalEnd
hooks.
Closes #2545
Diffstat (limited to 'rc/filetype/sh.kak')
| -rw-r--r-- | rc/filetype/sh.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/sh.kak b/rc/filetype/sh.kak index a48e6d29..9c362d30 100644 --- a/rc/filetype/sh.kak +++ b/rc/filetype/sh.kak @@ -6,7 +6,7 @@ hook global WinSetOption filetype=sh %{ require-module sh set-option window static_words %opt{sh_static_words} - hook window ModeChange insert:.* -group sh-trim-indent sh-trim-indent + hook window ModeChange pop:insert:.* -group sh-trim-indent sh-trim-indent hook window InsertChar \n -group sh-indent sh-indent-on-new-line hook -once -always window WinSetOption filetype=.* %{ remove-hooks window sh-.+ } } |
