Fix no autoclose at start of line replaces right char.

This commit is contained in:
Israel Chauca Fuentes
2010-05-13 15:27:36 -05:00
parent a317b6ead7
commit 45c66a4d07
2 changed files with 18 additions and 9 deletions
+6 -2
View File
@@ -176,8 +176,8 @@ function! delimitMateTests#Main(known) " {{{
call Type("Visual line wrapping quote empty line", "\<Esc>V,\"", ['""'], ['visual_leader:","'])
" Smart quotes
call Type("Smart quote alphanumeric", "alpha\"numeric", ['alpha"numeric|'], [])
call RepeatLast("Smart quote alphanumeric", ['alpha"numeric|alpha"numeric|'])
call Type("Smart quote alphanumeric", "a\"4", ['a"4|'], [])
call RepeatLast("Smart quote alphanumeric", ['a"4|a"4|'])
" Smart quotes
call Type("Smart quote escaped", "esc\\\"", ['esc\"|'], [])
@@ -222,6 +222,9 @@ function! delimitMateTests#Main(known) " {{{
" Autoclose and beginning of line
call Type("Autoclose and beginning of line", "'\<Left>\<Left>\<Esc>i'", ["'|\"'"], ["autoclose:0"])
" Manual close at start of line
call Type("Manual close at start of line", "m)\<Left>\<Left>)", [')|m)'], ["autoclose:0"])
"}}}
" Show results: {{{
@@ -251,3 +254,4 @@ function! delimitMateTests#Main(known) " {{{
" }}}
endfunction " }}}
" vim:foldmethod=marker:foldcolumn=4