From 8df9e883a1603cf2e4502871e2d4e5db447d9dd2 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 3 May 2023 10:33:36 +0200 Subject: [PATCH] nvim: uncomment comment textobject --- .config/nvim/lua/plugins/treesitter.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua index 662c3c3..7ec330a 100644 --- a/.config/nvim/lua/plugins/treesitter.lua +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -112,6 +112,12 @@ return { ["[M"] = "@class.outer", }, }, + select = { + enable = true, + keymaps = { + ["uc"] = "@comment.outer", + }, + }, }, --- nvim-ts-autotag --- autotag = {