Created
February 11, 2016 13:04
-
-
Save bag-man/b95ca553d63d18223ad7 to your computer and use it in GitHub Desktop.
Improve status line formatting in vim-fugitive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index a2cb700..2c44b3d 100644 | |
--- a/plugin/fugitive.vim | |
+++ b/plugin/fugitive.vim | |
@@ -3012,7 +3012,7 @@ function! fugitive#statusline(...) abort | |
if &statusline =~# '%[MRHWY]' && &statusline !~# '%[mrhwy]' | |
return ',GIT'.status | |
else | |
- return '[Git'.status.']' | |
+ return ' '.status | |
endif | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment