From 333fede99b1bf286820d1808de6ff1c06b56f365 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 29 Sep 2015 14:51:44 +0900 Subject: [PATCH] fix #296 --- autoload/emmet.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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