motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit c693da9cb0046a545d2b43ad7d508c9f930df6e5 (tree)
parent 1e7e7076967e489c360ba91c5b9d470a6e3f454a
Author: Tim Pope <code@tpope.net>
Date:   Tue, 24 Jul 2018 19:54:24 -0400

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.

Diffstat:
Mautoload/fugitive.vim | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -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 + return '[Git'.status.']' endfunction function! fugitive#statusline(...) abort