From 89b6a830f8ab05a8f3711f80b5c8c2606a923e89 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Sun, 4 Jan 2026 15:30:38 +0100 Subject: [PATCH] fixed nvim-treesitter for changes. --- flake.lock | 6 +++--- lua/myLuaConf/plugins/treesitter.lua | 13 ++----------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index 53db148..2d69667 100644 --- a/flake.lock +++ b/flake.lock @@ -17,11 +17,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1767026758, - "narHash": "sha256-7fsac/f7nh/VaKJ/qm3I338+wAJa/3J57cOGpXi0Sbg=", + "lastModified": 1767364772, + "narHash": "sha256-fFUnEYMla8b7UKjijLnMe+oVFOz6HjijGGNS1l7dYaQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "346dd96ad74dc4457a9db9de4f4f57dab2e5731d", + "rev": "16c7794d0a28b5a37904d55bcca36003b9109aaa", "type": "github" }, "original": { diff --git a/lua/myLuaConf/plugins/treesitter.lua b/lua/myLuaConf/plugins/treesitter.lua index 117df9d..ed8e56f 100644 --- a/lua/myLuaConf/plugins/treesitter.lua +++ b/lua/myLuaConf/plugins/treesitter.lua @@ -16,24 +16,15 @@ return { after = function(plugin) -- [[ Configure Treesitter ]] -- See `:help nvim-treesitter` - require('nvim-treesitter.configs').setup { + require('nvim-treesitter').setup { highlight = { enable = true, }, indent = { enable = false, }, - incremental_selection = { - enable = true, - keymaps = { - init_selection = '', - node_incremental = '', - scope_incremental = '', - node_decremental = '', - }, - }, } end, }, { "comment.nvim", - for_cat = 'telescope', + for_cat = 'treesitter', after = function(plugin) require('Comment').setup() end,