A nvim-cmp
source for closing tags provided by
treesitter
.
Heavily inspired by nvim-ts-autotag
❤️
Screen.Recording.2023-05-25.at.09.24.45.mov
Install (lazy.nvim)
{
'nvim-treesitter/nvim-treesitter',
-- [...]
},
{
'hrsh7th/nvim-cmp',
dependencies = {
'buschco/nvim-cmp-ts-tag-close',
}
}
require('nvim-cmp-ts-tag-close').setup({ skip_tags = { 'img' } })
require('cmp').setup {
sources = {
{ name = 'nvim-cmp-ts-tag-close' },
}
}
Expect bugs 🐞🪲