summaryrefslogtreecommitdiff
path: root/vim/.vim/after/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/after/plugin')
-rw-r--r--vim/.vim/after/plugin/status.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/.vim/after/plugin/status.vim b/vim/.vim/after/plugin/status.vim
index 54c5bb7..78949fb 100644
--- a/vim/.vim/after/plugin/status.vim
+++ b/vim/.vim/after/plugin/status.vim
@@ -35,8 +35,8 @@ augroup myflags
highlight MyGlobals ctermfg=255 ctermbg=240
autocmd!
- autocmd CmdwinEnter,BufEnter,BufRead,BufWritePost * let b:trailing=search('\s\+$','n')
- autocmd CmdwinEnter,BufEnter,BufRead,BufWritePost * let b:mixed=Mixed_indent()
+ autocmd FileReadPost,CmdwinEnter,BufEnter,BufRead,BufWritePost * let b:trailing=search('\s\+$','n')
+ autocmd FileReadPost,CmdwinEnter,BufEnter,BufRead,BufWritePost * let b:mixed=Mixed_indent()
autocmd User Flags call Hoist("buffer", "%{FugitiveHead('') != '' ? '['.FugitiveHead('').']' : ''}")
autocmd User Flags call Hoist("buffer", "%{b:trailing?'[tw]':''}")
autocmd User Flags call Hoist("buffer", "%{b:mixed?'[mixed]':''}")