aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nvim/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-11-16 19:42:46 -0600
committerToby Vincent <tobyv13@gmail.com>2022-11-16 19:42:46 -0600
commit0ebd0e4c76d43848b06eecebfa92eb59030fbe63 (patch)
treed67f2f24cc65d8ebaf300e9be3e7eefacf77812c /nvim/.config
parente48ac3ce2ae00607faaf5fcda8f59ef2ffe0c101 (diff)
revert(nvim): remove unused treesitter modules
Diffstat (limited to 'nvim/.config')
-rw-r--r--nvim/.config/nvim/lua/tobyvin/plugins.lua2
-rw-r--r--nvim/.config/nvim/lua/tobyvin/plugins/treesitter.lua8
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