From 5e6a07200c0cc0a21167a341c1f29bf27dc35f02 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 26 Jun 2023 21:35:03 +0200 Subject: [PATCH] feat(flash): added treesiter search to show ts node labels around search matches --- lua/lazyvim/plugins/extras/editor/flash.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/lazyvim/plugins/extras/editor/flash.lua b/lua/lazyvim/plugins/extras/editor/flash.lua index c9169c14..0d55fd6f 100644 --- a/lua/lazyvim/plugins/extras/editor/flash.lua +++ b/lua/lazyvim/plugins/extras/editor/flash.lua @@ -32,6 +32,14 @@ return { end, desc = "Remote Flash", }, + { + "R", + mode = { "n", "o", "x" }, + function() + require("flash").treesitter_search() + end, + desc = "Treesitter Search", + }, }, }, {