forked from VimPlug/emmet-vim
use v7h"_s instead of v7hs: ignore regsiter.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" File: zencoding.vim
|
" File: zencoding.vim
|
||||||
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
||||||
" Last Change: 06-May-2010.
|
" Last Change: 10-May-2010.
|
||||||
" Version: 0.37
|
" Version: 0.37
|
||||||
" WebPage: http://github.com/mattn/zencoding-vim
|
" WebPage: http://github.com/mattn/zencoding-vim
|
||||||
" Description: vim plugins for HTML and CSS hi-speed coding.
|
" Description: vim plugins for HTML and CSS hi-speed coding.
|
||||||
@@ -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! v7hs"
|
silent! exe "normal! v7h\"_s"
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user