mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-11 23:50:19 +08: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:
1 parent
1e7e707696
commit
c693da9cb0
1 file changed
+1
-5
@@ -3230,11 +3230,7 @@ function! fugitive#Statusline(...) abort
|
|||||||
let status .= ':' . commit[0:7]
|
let status .= ':' . commit[0:7]
|
||||||
endif
|
endif
|
||||||
let status .= '('.FugitiveHead(7).')'
|
let status .= '('.FugitiveHead(7).')'
|
||||||
if &statusline =~# '%[MRHWY]' && &statusline !~# '%[mrhwy]'
|
return '[Git'.status.']'
|
||||||
return ',GIT'.status
|
|
||||||
else
|
|
||||||
return '[Git'.status.']'
|
|
||||||
endif
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! fugitive#statusline(...) abort
|
function! fugitive#statusline(...) abort
|
||||||
|
|||||||
Reference in new issue
Block a user