From 0421be28b39c9313c0ad347cb4dfadf8a46c8bc7 Mon Sep 17 00:00:00 2001 From: Nate Kane Date: Sun, 3 Mar 2013 22:57:06 +1000 Subject: [PATCH] Trigger BufEnter and process modelines after loading the colorscheme. --- plugin/indent_guides.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/indent_guides.vim b/plugin/indent_guides.vim index 3a83779..99a96a8 100644 --- a/plugin/indent_guides.vim +++ b/plugin/indent_guides.vim @@ -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