mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-09 05:24:49 +08:00
fix issue #40
This commit is contained in:
@@ -165,6 +165,7 @@ endfunction
|
|||||||
"{{{1 commands
|
"{{{1 commands
|
||||||
autocmd BufWinEnter * call <SID>Setup()
|
autocmd BufWinEnter * call <SID>Setup()
|
||||||
autocmd BufRead,BufNewFile,ColorScheme * call <SID>InitColor()
|
autocmd BufRead,BufNewFile,ColorScheme * call <SID>InitColor()
|
||||||
|
autocmd Syntax * if exists("b:indentLine_set") | call <SID>InitColor() | call <SID>SetIndentLine() | endif
|
||||||
|
|
||||||
command! -nargs=? IndentLinesReset call <SID>ResetWidth(<f-args>)
|
command! -nargs=? IndentLinesReset call <SID>ResetWidth(<f-args>)
|
||||||
command! IndentLinesToggle call <SID>IndentLinesToggle()
|
command! IndentLinesToggle call <SID>IndentLinesToggle()
|
||||||
|
|||||||
Reference in New Issue
Block a user