From d101ae2f7cecffcddbbe0c6660e35ae6cd285534 Mon Sep 17 00:00:00 2001 From: alice-vu-163 Date: Fri, 8 Aug 2025 09:09:15 +0700 Subject: [PATCH] add tresitter text object --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 28e5a72d..5b7f6e66 100644 --- a/init.lua +++ b/init.lua @@ -1291,13 +1291,14 @@ require('lazy').setup({ { 'mluders/comfy-line-numbers.nvim', }, + { 'nvim-treesitter/nvim-treesitter-textobjects', dependencies = { 'nvim-treesitter/nvim-treesitter' } }, { -- Highlight, edit, and navigate code 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', main = 'nvim-treesitter.configs', -- Sets main module to use for opts -- [[ Configure Treesitter ]] See `:help nvim-treesitter` opts = { - ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'xml','python' }, + ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'xml', 'python' }, -- Autoinstall languages that are not installed auto_install = true, highlight = {