Merge pull request #2223 from arafel/magit_dictionary

vim-magit: Can't use an empty dictionary key
This commit is contained in:
Christian Brabandt 2020-09-03 12:46:56 +02:00 committed by GitHub
commit 51f599e2cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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')