diff options
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/.config/nvim/lua/tobyvin/plugins.lua | 2 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua | 8 |
2 files changed, 1 insertions, 9 deletions
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 |