forked from VimPlug/emmet-vim
auto is not unit name
This commit is contained in:
@@ -41,6 +41,9 @@ function! emmet#lang#css#parseIntoTree(abbr, type) abort
|
|||||||
let value = ''
|
let value = ''
|
||||||
for vt in split(prop[2], '\a\+\zs')
|
for vt in split(prop[2], '\a\+\zs')
|
||||||
let ut = matchstr(vt, '[a-z]\+$')
|
let ut = matchstr(vt, '[a-z]\+$')
|
||||||
|
if ut == 'auto'
|
||||||
|
let ut = ''
|
||||||
|
endif
|
||||||
for v in split(vt, '\d\zs-')
|
for v in split(vt, '\d\zs-')
|
||||||
if len(value) > 0
|
if len(value) > 0
|
||||||
let value .= ' '
|
let value .= ' '
|
||||||
|
|||||||
Reference in New Issue
Block a user