forked from VimPlug/emmet-vim
1 parent
5eb1061a3d
commit
136b87a330
2 files changed
+17
-3
No files matched your search
@@ -136,7 +136,8 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
|
||||
let snippet = substitute(snippet, '|', '${cursor}', 'g')
|
||||
endif
|
||||
" just redirect to expanding
|
||||
if snippet !~ '^\s*<'
|
||||
if snippet !~ '^\s*[{\[<]'
|
||||
let part = emmet#lang#html#findTokens(part)
|
||||
return emmet#lang#html#parseIntoTree(snippet, a:type)
|
||||
endif
|
||||
let lines = split(snippet, "\n", 1)
|
||||
|
||||
Reference in new issue
Block a user