mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-02-01 00:01:46 +08:00
Merge pull request #2278 from kazukazuinaina/fix_short_path_space
[fix] short path formatter's space
This commit is contained in:
commit
3f4b811510
|
@ -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