Merge pull request #603 from kballard/part_condition_special_char

Handle special characters in part conditions
This commit is contained in:
Bailey Ling 2014-09-22 22:36:04 -04:00
commit 825a048b10
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ function! s:create(parts, append)
endif endif
if exists('part.condition') if exists('part.condition')
let partval = substitute(partval, '{', '{'.(part.condition).' ? ', '') let partval = substitute(partval, '{', '\="{".(part.condition)." ? "', '')
let partval = substitute(partval, '}', ' : ""}', '') let partval = substitute(partval, '}', ' : ""}', '')
endif endif