Revert commit 7892c988
The commit was a merge with pull request #278, which was later found to
introduce the need for extra escaping, cf.
7892c988a5
This commit is contained in:
parent
5771ed00aa
commit
8c79b02047
@ -62,8 +62,8 @@ endfunction
|
|||||||
" Wrappers
|
" Wrappers
|
||||||
"
|
"
|
||||||
function! s:wrap_math(lhs, rhs) " {{{1
|
function! s:wrap_math(lhs, rhs) " {{{1
|
||||||
return '<c-r>=<sid>is_math() ? "' . a:rhs
|
return '<c-r>=<sid>is_math() ? ' . string(a:rhs)
|
||||||
\ . '" : "' . a:lhs . '"<cr>'
|
\ . ' : ' . string(a:lhs) . '<cr>'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
|
Loading…
Reference in New Issue
Block a user