Replace %= with empty string in evaluate_tabline
This commit is contained in:
parent
a8f92cc68a
commit
2b0fe51f99
@ -31,7 +31,7 @@ function! s:evaluate_tabline(tabline)
|
|||||||
let tabline = substitute(tabline, '%#[^#]\+#', '', 'g')
|
let tabline = substitute(tabline, '%#[^#]\+#', '', 'g')
|
||||||
let tabline = substitute(tabline, '%(\([^)]\+\)%)', '\1', 'g')
|
let tabline = substitute(tabline, '%(\([^)]\+\)%)', '\1', 'g')
|
||||||
let tabline = substitute(tabline, '%\d\+[TX]', '', 'g')
|
let tabline = substitute(tabline, '%\d\+[TX]', '', 'g')
|
||||||
let tabline = substitute(tabline, '%=', ' ', 'g')
|
let tabline = substitute(tabline, '%=', '', 'g')
|
||||||
let tabline = substitute(tabline, '%\d*\*', '', 'g')
|
let tabline = substitute(tabline, '%\d*\*', '', 'g')
|
||||||
return tabline
|
return tabline
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user