mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 15:23:55 +08:00
[fix] short path formatter's space
This commit is contained in:
parent
d64e5f8dd7
commit
1ed922265a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user