[fix] short path formatter's space

This commit is contained in:
kazukazuinaina 2020-11-05 23:44:29 +09:00
parent d64e5f8dd7
commit 1ed922265a

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