Skip to content

Commit 6d545d0

Browse files
committed
use a better no-op substitution
1 parent 732d17a commit 6d545d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/css_color.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ let s:_listsep = s:_ws_ . ',' . s:_ws_
216216
let s:_otherargs_ = '\%(,[^)]*\)\?'
217217
let s:_funcexpr = s:_funcname . '[(]' . s:_numval . s:_listsep . s:_numval . s:_listsep . s:_numval . s:_ws_ . s:_otherargs_ . '[)]'
218218
let s:_hexcolor = '#\(\x\{3}\|\x\{6}\)\>' " submatch 5
219-
let s:_grammar = '\ze' . s:_funcexpr . '\|' . s:_hexcolor
219+
let s:_grammar = s:_funcexpr . '\|' . s:_hexcolor . '\zs'
220220
function! css_color#parse_screen()
221221
" N.B. this substitute() call is here just for the side effect
222222
" of invoking s:create_syn_match during substitution -- because

0 commit comments

Comments
 (0)