From f7e253fe1d159f6cf88754feed1bc3a31d653bae Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 18 May 2024 02:19:03 -0500 Subject: [PATCH] feat(nvim): enable close on slash for ts-autotag --- .../dots/.config/nvim/lua/plugins/configs/treesitter.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/treesitter.lua b/users/price/dots/.config/nvim/lua/plugins/configs/treesitter.lua index 47cf163b..a6eb8fb2 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/treesitter.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/treesitter.lua @@ -41,7 +41,13 @@ return { "PriceHiller/nvim-ts-autotag", dependencies = { "nvim-treesitter/nvim-treesitter" }, event = { "BufReadPre", "BufNewFile" }, - config = true, + config = function() + require("nvim-ts-autotag").setup({ + opts = { + enable_close_on_slash = true, + }, + }) + end, }, { url = "https://gitlab.com/HiPhish/rainbow-delimiters.nvim",