Trigger BufEnter and process modelines after loading the colorscheme.

This commit is contained in:
Nate Kane 2013-03-03 22:57:06 +10:00
parent ac069a993e
commit 0421be28b3

View File

@ -72,5 +72,8 @@ augroup indent_guides
autocmd VimEnter * :IndentGuidesEnable
endif
autocmd BufEnter,WinEnter,ColorScheme * call indent_guides#process_autocmds()
autocmd BufEnter,WinEnter * call indent_guides#process_autocmds()
" Trigger BufEnter and process modelines.
autocmd ColorScheme * doautocmd indent_guides BufEnter
augroup END