diff --git a/after/plugin/indentLine.vim b/after/plugin/indentLine.vim index 81711ba..96ff389 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -199,7 +199,8 @@ augroup indentLine \ call Setup() | endif autocmd BufRead,BufNewFile,ColorScheme,Syntax * call InitColor() autocmd BufUnload * let b:indentLine_enabled = 0 | let b:indentLine_leadingSpaceEnabled = 0 - autocmd SourcePre $VIMRUNTIME/syntax/nosyntax.vim doautoall indentLine BufUnload + autocmd SourcePre $VIMRUNTIME/syntax/nosyntax.vim doautocmd indentLine BufUnload + autocmd FileChangedShellPost * doautocmd indentLine BufUnload | call Setup() augroup END "{{{1 commands