mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-09 23:05:48 +08:00
Add c# for expanding color: ;
This commit is contained in:
1 parent
e185c13171
commit
fbd353387b
1 file changed
+4
@@ -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])))
|
||||
endif
|
||||
call add(root.child, current)
|
||||
elseif token =~ '^c#'
|
||||
let current.name = ''
|
||||
let current.snippet = 'color:\${cursor};'
|
||||
call add(root.child, current)
|
||||
else
|
||||
call add(root.child, current)
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user