diff options
author | Urbain Vaes <urbain@vaes.uk> | 2022-08-18 10:01:29 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2022-08-18 10:01:29 +0200 |
commit | 2226b04eec38c0e3bd40337cba07834009a5c5af (patch) | |
tree | bc6c5a042b85dc774b814282202688d23e1de5ab /vim/.vim/after | |
parent | 29cef079e9b3fba66956a947e6f65fb1330047b0 (diff) |
Improve vim label
Diffstat (limited to 'vim/.vim/after')
-rw-r--r-- | vim/.vim/after/plugin/status.vim | 4 |
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]':''}") |