Use autocmd to apply syntax styledEmmetAbbreviation

This commit is contained in:
Yasuhiro Matsumoto committed 2020-10-20 17:36:24 +09:00
1 parent a46a282c5e
commit 9c526a43d6
5 files changed
+5 -6

No files matched your search

+5
View File
@@ -174,6 +174,11 @@ if get(g:, 'user_emmet_install_command', 1)
command! -nargs=1 Emmet call emmet#expandAbbr(4, <q-args>)
endif
augroup ___emmet_setup___
au!
autocmd Syntax * syntax match styledEmmetAbbreviation "[a-z0-9#+!%]\+" containedin=styledDefinition contained
augroup END
let &cpoptions = s:save_cpo
unlet s:save_cpo