mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-10-19 20:37:05 +08:00
Correct test for CR expansions.
This commit is contained in:
1 parent
a9f51531d9
commit
93d4a373fb
1 file changed
+7
-1
+7
-1
@@ -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)
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
Reference in new issue
Block a user