vim-magit: Can't use an empty dictionary key

This commit is contained in:
Paul Walker 2020-09-03 10:51:23 +01:00
parent 2daabc2cce
commit dd5a3c91a1
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ if !get(g:, 'loaded_magit', 0)
finish
endif
let s:commit_mode = {'': 'STAGING', 'CC': 'COMMIT', 'CA': 'AMEND'}
let s:commit_mode = {'ST': 'STAGING', 'CC': 'COMMIT', 'CA': 'AMEND'}
function! airline#extensions#vimagit#init(ext) abort
call a:ext.add_statusline_func('airline#extensions#vimagit#apply')