diff options
| author | Taupiqueur <alexherbo2@gmail.com> | 2021-06-15 14:29:09 +0200 |
|---|---|---|
| committer | Taupiqueur <alexherbo2@gmail.com> | 2021-06-15 14:30:35 +0200 |
| commit | 59d39c60d74cb8bd4ee8649c1fed53bdf4eea201 (patch) | |
| tree | 18c2d58eade6a0f4bbc8b67f6309d3a92fce4e71 | |
| parent | d758bbf09b949f0fef88ef3c6762cc55098cdb95 (diff) | |
Add missing eRuby indent group
| -rw-r--r-- | rc/filetype/eruby.kak | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/filetype/eruby.kak b/rc/filetype/eruby.kak index cc82c08b..273fa074 100644 --- a/rc/filetype/eruby.kak +++ b/rc/filetype/eruby.kak @@ -8,10 +8,10 @@ hook global BufCreate '.*\.erb' %{ hook global WinSetOption filetype=eruby %{ require-module eruby add-highlighter window/eruby ref eruby - hook -group eruby window InsertChar '\n' html-indent-on-new-line + hook -group eruby-indent window InsertChar '\n' html-indent-on-new-line hook -always -once window WinSetOption filetype=.* %{ remove-highlighter window/eruby - remove-hooks window eruby + remove-hooks window eruby-.+ } } |
