diff --git a/autoload/airline/formatter/short_path.vim b/autoload/airline/formatter/short_path.vim index 675704e2..9fae2013 100644 --- a/autoload/airline/formatter/short_path.vim +++ b/autoload/airline/formatter/short_path.vim @@ -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