forked from VimPlug/emmet-vim
should behave on only html
This commit is contained in:
@@ -136,7 +136,7 @@ function! emmet#lang#html#parseIntoTree(abbr, type) abort
|
||||
let snippet = substitute(snippet, '|', '${cursor}', 'g')
|
||||
endif
|
||||
" just redirect to expanding
|
||||
if snippet !~ '^\s*[{\[<]'
|
||||
if type == 'html' && snippet !~ '^\s*[{\[<]'
|
||||
return emmet#lang#html#parseIntoTree(snippet, a:type)
|
||||
endif
|
||||
let lines = split(snippet, "\n", 1)
|
||||
|
||||
Reference in New Issue
Block a user