mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +08:00
Replace $cursor$ regardless of value of 'backspace' setting
This commit is contained in:
@@ -1456,7 +1456,7 @@ function! s:zen_expandAbbr(mode) range
|
|||||||
endif
|
endif
|
||||||
silent! exe "normal! ".len(part)."h"
|
silent! exe "normal! ".len(part)."h"
|
||||||
if search('\$cursor\$', 'e')
|
if search('\$cursor\$', 'e')
|
||||||
silent! exe "normal! a" . repeat("\<c-h>", 8)
|
silent! exe "normal! v7hs"
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user