Skip to content

Commit 895955d

Browse files
committed
Fixed commit-short and commit-long
1 parent 713c146 commit 895955d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

autoload/blamer.vim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,10 @@ function! blamer#GetMessages(file, line_number, line_count) abort
175175

176176
if l:is_line_hash
177177
" line type HASH
178-
let l:commit_data = {}
178+
let l:commit_data = {
179+
\ 'commit-short': l:line_words[0][:7],
180+
\ 'commit-long': l:line_words[0]
181+
\ }
179182
elseif l:has_line_tab
180183
" line type TAB
181184
" Change messsage when changes are not commited

0 commit comments

Comments
 (0)