Fixes to d.kak and moon.kak

This commit is contained in:
Olivier Perret 2018-12-02 13:18:29 +01:00
parent f5a2ded44b
commit 93c308ca53
2 changed files with 2 additions and 2 deletions

View File

@ -128,5 +128,5 @@ hook global WinSetOption filetype=d %{
hook window InsertChar \{ -group d-indent d-indent-on-opening-curly-brace hook window InsertChar \{ -group d-indent d-indent-on-opening-curly-brace
hook window InsertChar \} -group d-indent d-indent-on-closing-curly-brace hook window InsertChar \} -group d-indent d-indent-on-closing-curly-brace
hook -once -always window WinSetOptionfiletype=(?!d).* %{ remove-hooks window d-.+ } hook -once -always window WinSetOption filetype=(?!d).* %{ remove-hooks window d-.+ }
} }

View File

@ -100,7 +100,7 @@ hook global WinSetOption filetype=moon %{
alias window alt moon-alternative-file alias window alt moon-alternative-file
hook global WinSetOption filetype=(?!moon).* %{ hook -once -always window WinSetOption filetype=(?!moon).* %{
remove-hooks window moon-.+ remove-hooks window moon-.+
unalias window alt moon-alternative-file unalias window alt moon-alternative-file
} }