Revert "Fixes #169. Fixed IndentLinesToggle (#181)" (#200)

It breaks commit 2a26173.
This commit is contained in:
Yggdroot
2017-05-05 15:06:54 +08:00
committed by GitHub
parent 942fea03e6
commit 0a6171444f

View File

@@ -199,11 +199,8 @@ endfunction
augroup indentLine
autocmd!
autocmd BufWinEnter * call <SID>Setup()
autocmd User * if exists("b:indentLine_enabled") && b:indentLine_enabled ||
\ exists("b:indentLine_leadingSpaceEnabled") && b:indentLine_leadingSpaceEnabled |
\ call <SID>Setup() |
\ endif
autocmd User * if exists("b:indentLine_enabled") || exists("b:indentLine_leadingSpaceEnabled") |
\ call <SID>Setup() | endif
autocmd BufRead,BufNewFile,ColorScheme,Syntax * call <SID>InitColor()
autocmd BufUnload * let b:indentLine_enabled = 0 | let b:indentLine_leadingSpaceEnabled = 0
autocmd SourcePre $VIMRUNTIME/syntax/nosyntax.vim doautocmd indentLine BufUnload