mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-05-12 10:50:35 +02:00
Merge pull request #603 from kballard/part_condition_special_char
Handle special characters in part conditions
This commit is contained in:
commit
825a048b10
@ -49,7 +49,7 @@ function! s:create(parts, append)
|
||||
endif
|
||||
|
||||
if exists('part.condition')
|
||||
let partval = substitute(partval, '{', '{'.(part.condition).' ? ', '')
|
||||
let partval = substitute(partval, '{', '\="{".(part.condition)." ? "', '')
|
||||
let partval = substitute(partval, '}', ' : ""}', '')
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user