Closed c0r73x closed 3 years ago
Found the issue
diff --git a/autoload/blamer.vim b/autoload/blamer.vim
index 74632b3..99a492a 100644
--- a/autoload/blamer.vim
+++ b/autoload/blamer.vim
@@ -175,7 +175,10 @@ function! blamer#GetMessages(file, line_number, line_count) abort
if l:is_line_hash
" line type HASH
- let l:commit_data = {}
+ let l:commit_data = {
+ \ 'commit-short': l:line_words[0][:7],
+ \ 'commit-long': l:line_words[0]
+ \ }
elseif l:has_line_tab
" line type TAB
" Change messsage when changes are not commited
None of the commit-short or commit-long works in the template anymore.
E716: Key not present in Dictionary: "commit-long"
E716: Key not present in Dictionary: "commit-short"