Add missing eRuby indent group

This commit is contained in:
Taupiqueur 2021-06-15 14:29:09 +02:00
parent d758bbf09b
commit 59d39c60d7

View File

@ -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-.+
}
}