mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] add Emmet support in Jinja/Jinja2/Nunjucks templates
This commit is contained in:
parent
c7b24f9ee6
commit
313be3691a
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
if !g:vim_ide | finish | endif
|
if !g:vim_ide | finish | endif
|
||||||
|
|
||||||
call coc#add_extension('coc-html', 'coc-emmet')
|
call coc#add_extension('coc-html', 'coc-emmet')
|
||||||
let g:coc_filetypes += ['html']
|
let s:emmet_filetype_mapping = { 'jinja': 'html' }
|
||||||
|
let g:coc_filetypes += ['html'] + keys(s:emmet_filetype_mapping)
|
||||||
|
call coc#config('emmet.includeLanguages', s:emmet_filetype_mapping)
|
||||||
|
|
Loading…
Reference in a new issue