Correct test for CR expansions.

This commit is contained in:
Israel Chauca Fuentes
2012-03-31 17:00:51 -04:00
parent a9f51531d9
commit 93d4a373fb

View File

@@ -18,9 +18,15 @@ exec "normal i(\<CR>test)x"
test test
)x )x
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
# Consider indentation with BS inside an empty CR expansion. # Remove CR expansion on BS
%d %d
exec "normal i(\<CR>\<BS>x" exec "normal i(\<CR>\<BS>x"
================================================================================ ================================================================================
(x) (x)
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
# Consider indentation with BS inside an empty CR expansion.
%d
exec "normal i( \<CR>\<BS>\<BS>x"
================================================================================
(x)
--------------------------------------------------------------------------------