feat: nvim-ts-autotag

This commit is contained in:
punkfairie 2024-12-08 15:10:09 -08:00
parent c88b82e9f6
commit 0225b92b5e
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
3 changed files with 13 additions and 0 deletions

View file

@ -58,6 +58,7 @@ with final.pkgs.lib; let
# Treesitter
nvim-treesitter-textobjects
nvim-ts-autotag
(nvim-treesitter.withPlugins (
plugins:
with plugins; [

View file

@ -3,4 +3,5 @@ local req = MarleyVim.local_require('plugins.treesitter')
return {
req('nvim-treesitter-textobjects'),
req('nvim-treesitter'),
req('nvim-ts-autotag'),
}

View file

@ -0,0 +1,11 @@
return {
'nvim-ts-autotag',
event = { 'BufReadPost', 'BufWritePost', 'BufNewFile' },
after = function()
require('nvim-ts-autotag').setup({
opts = {
enable_close_on_slash = true,
},
})
end,
}