From 37e2b3b8e268aedfe4de4538c0a04ce8d2263a2f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 30 Jul 2024 23:23:50 +0300 Subject: feat(neovim): added autoclose/rename for html tags --- .config/nvim/lazy-lock.json | 1 + .config/nvim/lua/custom/plugins/nvim-ts-autotag.lua | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 .config/nvim/lua/custom/plugins/nvim-ts-autotag.lua diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 925d659..824361e 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -41,6 +41,7 @@ "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" }, "nvim-treesitter": { "branch": "master", "commit": "c760e4037cc02336ddd00737f95ee26e128fa745" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" }, + "nvim-ts-autotag": { "branch": "main", "commit": "dc5e1687ab76ee02e0f11c5ce137f530b36e98b3" }, "nvim-web-devicons": { "branch": "master", "commit": "e612de3d3a41a6b7be47f51e956dddabcbf419d9" }, "octo.nvim": { "branch": "master", "commit": "aa5dfa573220a0a511a25ee14ce1570b6c23e56a" }, "oil.nvim": { "branch": "master", "commit": "71c972fbd218723a3c15afcb70421f67340f5a6d" }, diff --git a/.config/nvim/lua/custom/plugins/nvim-ts-autotag.lua b/.config/nvim/lua/custom/plugins/nvim-ts-autotag.lua new file mode 100644 index 0000000..e806a45 --- /dev/null +++ b/.config/nvim/lua/custom/plugins/nvim-ts-autotag.lua @@ -0,0 +1,5 @@ +return { + 'windwp/nvim-ts-autotag', + event = { 'BufReadPre', 'BufNewFile' }, + opts = { opts = { enable_close_on_slash = true } }, +} -- cgit v1.3.1