diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2010-02-16 16:39:16 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2010-02-16 16:39:16 +0100 |
commit | 88789ff964d6ffa1139d66c80a5b522bf3f54596 (patch) | |
tree | 7434b923dc87a07446604642f8bca6a5a48dbbcb | |
parent | 3f14a74ce18446aa4c441ca69237876ae8cfd549 (diff) |
[Vim] git-blame current line displayed with WarningMsg color
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -168,7 +168,7 @@ function! GitBlameCurrentLine() let l:wd = expand("%:p:h") let content = system("cd " . l:wd . ";git blame -L ". l:line . "," . l:line . " " . l:file . " | sed 's/).*/)/'") let line = split(content, '\n')[0] - echohl Type | echo line | echohl None + echohl WarningMsg | echo line | echohl None endfunction command! GitBlameCurrentLine :call GitBlameCurrentLine() map <ESC>b :GitBlameCurrentLine<CR> |