From c939c30135930ebe6dbf963649e81a732e0830af Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 11 Feb 2018 21:51:32 +1100 Subject: [PATCH] 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. --- rc/base/ocaml.kak | 3 --- 1 file changed, 3 deletions(-) diff --git a/rc/base/ocaml.kak b/rc/base/ocaml.kak index 2e81f20d..1052e057 100644 --- a/rc/base/ocaml.kak +++ b/rc/base/ocaml.kak @@ -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 - } " }