mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 12:53:52 -05:00
Drop support for uppercase statusline indicator
If you want this, I'm happy to bring it back as a separate function. I think it's a bit too clever to detect automatically.
This commit is contained in:
@@ -3230,11 +3230,7 @@ function! fugitive#Statusline(...) abort
|
||||
let status .= ':' . commit[0:7]
|
||||
endif
|
||||
let status .= '('.FugitiveHead(7).')'
|
||||
if &statusline =~# '%[MRHWY]' && &statusline !~# '%[mrhwy]'
|
||||
return ',GIT'.status
|
||||
else
|
||||
return '[Git'.status.']'
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! fugitive#statusline(...) abort
|
||||
|
||||
Reference in New Issue
Block a user