Fix typo in evaluating %( %) rules
This commit is contained in:
parent
980e78b4bf
commit
6819443d6a
@ -29,7 +29,7 @@ function! s:evaluate_tabline(tabline)
|
|||||||
let tabline = a:tabline
|
let tabline = a:tabline
|
||||||
let tabline = substitute(tabline, '%{\([^}]\+\)}', '\=eval(submatch(1))', 'g')
|
let tabline = substitute(tabline, '%{\([^}]\+\)}', '\=eval(submatch(1))', 'g')
|
||||||
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')
|
||||||
|
Loading…
Reference in New Issue
Block a user