diff options
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/polyglot/init.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim index bd91a37f..837515ee 100644 --- a/autoload/polyglot/init.vim +++ b/autoload/polyglot/init.vim @@ -2693,7 +2693,7 @@ func! s:Observe(fn) let b:PolyglotObserve = function("polyglot#" . a:fn) augroup polyglot-observer au! - au CursorHold,CursorHoldI <buffer> call b:PolyglotObserve() + au CursorHold,CursorHoldI <buffer> if (&ft == "" || &ft == "conf") | call b:PolyglotObserve() | endif augroup END endfunc |