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:
Maxime Coste 2018-02-11 21:51:32 +11:00
parent f3c19ba7fa
commit c939c30135

View File

@ -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
}
"
}