forked from VimPlug/emmet-vim
Add c# for expanding color: ;
This commit is contained in:
@@ -168,6 +168,10 @@ function! emmet#lang#css#parseIntoTree(abbr, type)
|
|||||||
let current.snippet = printf('color:rgb(%d, %d, %d, %s);', r, g, b, string(str2float('0.'.cs[1])))
|
let current.snippet = printf('color:rgb(%d, %d, %d, %s);', r, g, b, string(str2float('0.'.cs[1])))
|
||||||
endif
|
endif
|
||||||
call add(root.child, current)
|
call add(root.child, current)
|
||||||
|
elseif token =~ '^c#'
|
||||||
|
let current.name = ''
|
||||||
|
let current.snippet = 'color:\${cursor};'
|
||||||
|
call add(root.child, current)
|
||||||
else
|
else
|
||||||
call add(root.child, current)
|
call add(root.child, current)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user