Uses vscode-emmet-helper. Integrates with Treesitter to determine the language under the cursor.
Install with your favorite package manager.
{ 'jackieaskins/cmp-emmet', build = 'npm run release' }
use({ 'jackieaskins/cmp-emmet', run = 'npm run release' })
Plug 'jackieaskins/cmp-emmet', { 'do': 'npm run release' }
require('cmp').setup({
sources = {
{ name = 'emmet' }
}
})
When I created this plugin, there were two main options: emmet-ls
(which I found too noisy) and emmet-vim
(which didn't allow for integration with nvim-cmp
). Since then there have been more options created. Feel free to check these out in case this plugin doesn't work for you:
Plugins:
nvim-cmp
completion source, has a dependency on mattn/emmet-vim
Language Servers:
vscode-emmet-helper