summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2010-02-16 16:39:16 +0100
committerHugues Hiegel <hugues@hiegel.fr>2010-02-16 16:39:16 +0100
commit88789ff964d6ffa1139d66c80a5b522bf3f54596 (patch)
tree7434b923dc87a07446604642f8bca6a5a48dbbcb
parent3f14a74ce18446aa4c441ca69237876ae8cfd549 (diff)
[Vim] git-blame current line displayed with WarningMsg color
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index f6d8551..d5d174e 100644
--- a/vimrc
+++ b/vimrc
@@ -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>