From 6e8471673a7158a8820986f6aad770a912a66eed Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 22 Jun 2023 10:57:16 +0200 Subject: [PATCH] fix(treesitter): always disable incremental mode for treesitter. Fixes #27 --- lua/flash/plugins/treesitter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/flash/plugins/treesitter.lua b/lua/flash/plugins/treesitter.lua index 4da67fe..47389f0 100644 --- a/lua/flash/plugins/treesitter.lua +++ b/lua/flash/plugins/treesitter.lua @@ -73,7 +73,7 @@ function M.jump(opts) Config.get({ mode = "treesitter" }, opts, { matcher = M.matcher, labeler = function() end, - search = { multi_window = false, wrap = true }, + search = { multi_window = false, wrap = true, incremental = false }, }) )