From dd5a3c91a1adc215cf9bba79296e2eb2cfbc6587 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Thu, 3 Sep 2020 10:51:23 +0100 Subject: [PATCH] vim-magit: Can't use an empty dictionary key --- autoload/airline/extensions/vimagit.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/vimagit.vim b/autoload/airline/extensions/vimagit.vim index efe48982..d6113e6b 100644 --- a/autoload/airline/extensions/vimagit.vim +++ b/autoload/airline/extensions/vimagit.vim @@ -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')