diff --git a/autoload/emmet.vim b/autoload/emmet.vim index 13b56bb..a33714b 100644 --- a/autoload/emmet.vim +++ b/autoload/emmet.vim @@ -689,7 +689,7 @@ function! emmet#expandAbbr(mode, abbr) range abort if g:emmet_debug > 1 call getchar() endif - if search('\ze\$\(cursor\|select\)\$') + if search('\ze\$\(cursor\|select\)\$', 'c') let oldselection = &selection let &selection = 'inclusive' if foldclosed(line('.')) !=# -1