Skip to content

Commit 0421be2

Browse files
committed
Trigger BufEnter and process modelines after loading the colorscheme.
1 parent ac069a9 commit 0421be2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugin/indent_guides.vim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,8 @@ augroup indent_guides
7272
autocmd VimEnter * :IndentGuidesEnable
7373
endif
7474

75-
autocmd BufEnter,WinEnter,ColorScheme * call indent_guides#process_autocmds()
75+
autocmd BufEnter,WinEnter * call indent_guides#process_autocmds()
76+
77+
" Trigger BufEnter and process modelines.
78+
autocmd ColorScheme * doautocmd indent_guides BufEnter
7679
augroup END

0 commit comments

Comments
 (0)