mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-10-09 23:05:54 +08:00
Fix tests, BS in expansions and close #105.
This commit is contained in:
1 parent
cfc6654855
commit
8a8aad183f
5 files changed
+10
-4
No files matched your search
@@ -143,7 +143,7 @@ function! delimitMate#WriteAfter(str) "{{{
|
||||
let len = 1 "len(a:str)
|
||||
let line = split(getline('.'), '\zs')
|
||||
let col = delimitMate#CursorIdx() - 1
|
||||
if (col + 1) < 0
|
||||
if (col + 1) < 0 || col('.') == 1
|
||||
let line = insert(line, a:str)
|
||||
elseif col('.') == col('$')
|
||||
let line = add(line, a:str)
|
||||
|
||||
Reference in new issue
Block a user