Fixes to d.kak and moon.kak
This commit is contained in:
parent
f5a2ded44b
commit
93c308ca53
|
@ -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-.+ }
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user