From 3ad560ea30c5975d0f582622ccd2f5f2605af7e8 Mon Sep 17 00:00:00 2001 From: Pei Yang Ching Date: Thu, 2 May 2024 12:37:44 +0200 Subject: [PATCH 1/2] treesitter: fix ts context keybinds --- modules/plugins/treesitter/config.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/plugins/treesitter/config.nix b/modules/plugins/treesitter/config.nix index 61bfefe..6bee0a2 100644 --- a/modules/plugins/treesitter/config.nix +++ b/modules/plugins/treesitter/config.nix @@ -30,9 +30,9 @@ in { normal = mkSetBinding mappings.incrementalSelection.init ":lua require('nvim-treesitter.incremental_selection').init_selection()"; visualOnly = mkMerge [ - (mkSetBinding mappings.incrementalSelection.incrementByNode ":lua require('nvim-treesitter.incremental_selection').node_incremental()") - (mkSetBinding mappings.incrementalSelection.incrementByScope ":lua require('nvim-treesitter.incremental_selection').scope_incremental()") - (mkSetBinding mappings.incrementalSelection.decrementByNode ":lua require('nvim-treesitter.incremental_selection').node_decremental()") + (mkSetBinding mappings.incrementalSelection.incrementByNode "lua require('nvim-treesitter.incremental_selection').node_incremental()") + (mkSetBinding mappings.incrementalSelection.incrementByScope "lua require('nvim-treesitter.incremental_selection').scope_incremental()") + (mkSetBinding mappings.incrementalSelection.decrementByNode "lua require('nvim-treesitter.incremental_selection').node_decremental()") ]; }; From 666de6a5bef6ede8bf93e459b1a2b7cb4715befa Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Thu, 2 May 2024 19:41:44 +0200 Subject: [PATCH 2/2] docs: update changelog --- docs/release-notes/rl-0.7.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/release-notes/rl-0.7.md b/docs/release-notes/rl-0.7.md index 33cf66d..ab6f9da 100644 --- a/docs/release-notes/rl-0.7.md +++ b/docs/release-notes/rl-0.7.md @@ -13,3 +13,7 @@ Release notes for release 0.7 - Modified type for [](#opt-vim.visuals.fidget-nvim.setupOpts.progress.display.overrides) from `anything` to a `submodule` for better type checking. + +[horriblename](https://github.com/horriblename) + +- Fix broken treesitter-context keybinds in visual mode