From 0ebd0e4c76d43848b06eecebfa92eb59030fbe63 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Wed, 16 Nov 2022 19:42:46 -0600 Subject: revert(nvim): remove unused treesitter modules --- nvim/.config/nvim/lua/tobyvin/plugins.lua | 2 -- nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua | 8 +------- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'nvim/.config') diff --git a/nvim/.config/nvim/lua/tobyvin/plugins.lua b/nvim/.config/nvim/lua/tobyvin/plugins.lua index 4d28bc9..cdff850 100644 --- a/nvim/.config/nvim/lua/tobyvin/plugins.lua +++ b/nvim/.config/nvim/lua/tobyvin/plugins.lua @@ -271,10 +271,8 @@ M.plugins = function(use) run = ":TSUpdate", requires = { "nvim-treesitter/playground", - "nvim-treesitter/nvim-treesitter-refactor", "nvim-treesitter/nvim-treesitter-textobjects", "nvim-treesitter/nvim-treesitter-context", - "RRethy/nvim-treesitter-textsubjects", "JoosepAlviste/nvim-ts-context-commentstring", "mfussenegger/nvim-ts-hint-textobject", }, diff --git a/nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua b/nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua index 0125778..ec19c5b 100644 --- a/nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua +++ b/nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua @@ -48,14 +48,8 @@ M.setup = function() }, }, }, - textsubjects = { + context_commentstring = { enable = true, - prev_selection = ",", -- (Optional) keymap to select the previous selection - keymaps = { - ["."] = "textsubjects-smart", - ["a."] = "textsubjects-container-outer", - ["i."] = "textsubjects-container-inner", - }, }, }) end -- cgit v1.2.3-70-g09d2