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 5e1865ab..80cf8f1c 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/treesitter.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/treesitter.lua @@ -24,19 +24,6 @@ return { }, }, }, - { - "nvim-treesitter/nvim-treesitter-context", - event = { "BufReadPre", "BufNewFile" }, - dependencies = { - "nvim-treesitter/nvim-treesitter", - }, - config = function() - require("treesitter-context").setup({ - max_lines = 3, - }) - vim.cmd.TSContextEnable() - end, - }, { "windwp/nvim-ts-autotag", dependencies = { "nvim-treesitter/nvim-treesitter" }, diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/ts_autotag.lua b/users/price/dots/.config/nvim/lua/plugins/configs/ts_autotag.lua new file mode 100644 index 00000000..29b03f13 --- /dev/null +++ b/users/price/dots/.config/nvim/lua/plugins/configs/ts_autotag.lua @@ -0,0 +1,13 @@ +return { + { + "windwp/nvim-ts-autotag", + event = { "BufReadPre", "BufNewFile" }, + config = function() + require("nvim-ts-autotag").setup({ + opts = { + enable_close_on_slash = true, + }, + }) + end, + }, +}