Skip to content

Commit

Permalink
[nvim] disable (the extremely annoying) Emmet in JSX/TSX
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitmel committed Jan 28, 2022
1 parent b0fa5b7 commit bead3b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nvim/coc-languages/html.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ call extend(g:dotfiles_coc_filetypes, {'html': 1})
call extend(g:dotfiles_coc_filetypes, map(copy(s:emmet_filetype_mapping), {k, v -> 1}))

let g:coc_user_config['emmet.includeLanguages'] = s:emmet_filetype_mapping
let g:coc_user_config['emmet.excludeLanguages'] = ['javascriptreact', 'typescriptreact']

0 comments on commit bead3b4

Please sign in to comment.