ocaml.kak: remove invalid unset-option static_words hook
unsetting static_words whenever any buffer filetype is set to non ocaml is wrong, it breaks static_words for every filetype whose filetype hook run before the ocaml ones.
This commit is contained in:
parent
f3c19ba7fa
commit
c939c30135
|
@ -54,8 +54,5 @@ hook global WinSetOption filetype=(?!ocaml).* %{
|
|||
hook global WinSetOption filetype=ocaml %{
|
||||
set-option window static_words $keywords
|
||||
}
|
||||
hook global WinSetOption filetype=(?!ocaml).* %{
|
||||
unset window static_words
|
||||
}
|
||||
"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user