diff options
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index aadca5d6..86c2c628 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -478,6 +478,24 @@ return require("packer").startup(function(use) requires = "hrsh7th/nvim-compe", disable = not O.plugin.tabnine.active, } + + -- Custom semantic text objects + use { + "nvim-treesitter/nvim-treesitter-textobjects", + disable = not O.plugin.ts_textobjects.active, + } + -- Smart text objects + use { + "RRethy/nvim-treesitter-textsubjects", + disable = not O.plugin.ts_textsubjects.active, + } + -- Text objects using hint labels + use { + "mfussenegger/nvim-ts-hint-textobject", + event = "BufRead", + disable = not O.plugin.ts_hintobjects.active, + } + for _, plugin in pairs(O.custom_plugins) do packer.use(plugin) end |