Smart quotes consider balanced quotes on current line. Closes #94.

This commit is contained in:
Israel Chauca Fuentes
2013-06-19 00:43:42 -04:00
parent d4ba528935
commit 70e1ac1462
4 changed files with 16 additions and 11 deletions

View File

@@ -38,3 +38,5 @@ set cpo=ces$
"('test'x" "('test'x)"
# Duplicate whole line when inserting quote at bol #105
"}\<Home>'" "''}"
"'\<Del>abc '" "'abc '"
"''abc '" "''abc ''"

View File

@@ -48,7 +48,7 @@ sub foo {
call setline(1, '"{bracketed}')
normal A"x
================================================================================
"{bracketed}"x"
"{bracketed}"x
--------------------------------------------------------------------------------
# Syntax folding enabled by autocmd breaks expansion. But ti can't be tested
# with :normal