Merge pull request #2278 from kazukazuinaina/fix_short_path_space

[fix] short path formatter's space
This commit is contained in:
Christian Brabandt 2020-11-06 09:10:34 +01:00 committed by GitHub
commit 3f4b811510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ scriptencoding utf-8
function! airline#formatter#short_path#format(val) abort
if get(g:, 'airline_stl_path_style', 'default') ==# 'short'
return '%{pathshorten(expand("'.a:val.'"))}%'
return '%{pathshorten(expand("'.a:val.'"))}'
endif
return a:val
endfunction