mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-06 12:44:27 +08:00
Correct test for CR expansions.
This commit is contained in:
@@ -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