From 4d0233ebdb7263832454a80eb2556aff9ee65139 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Thu, 4 Jan 2018 21:09:26 +0100 Subject: [PATCH] plugin: correctly re-init on :syn-enable should fix #1590 correctly --- plugin/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index 21322bc..a65049e 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -96,7 +96,7 @@ function! s:airline_toggle() autocmd GUIEnter,ColorScheme * call on_colorscheme_changed() " Refresh airline for :syntax off - autocmd SourcePre *nosyntax.vim call airline_refresh() + autocmd SourcePre *syntax.vim call airline_refresh() autocmd VimEnter,WinEnter,BufWinEnter,FileType,BufUnload * \ call on_window_changed() if exists('#CompleteDone')