Merge remote-tracking branch 'alexherbo2/add-missing-eruby-indent-group'

This commit is contained in:
Maxime Coste 2021-07-07 19:15:28 +10:00
commit 699050d2d6

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