Skip to content

Commit 0966cde

Browse files
committed
drop no-op substitution (submatch(0) is needed! doh)
1 parent 6d545d0 commit 0966cde

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 = s:_funcexpr . '\|' . s:_hexcolor . '\zs'
219+
let s:_grammar = s:_funcexpr . '\|' . s:_hexcolor
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)