From c22beb43a4526372abbd6c3dab48051e6b4e2a20 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 22 Jan 2022 16:34:18 +0100 Subject: Add treesitter playground --- lua/config/whichkey.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lua/config/whichkey.lua') diff --git a/lua/config/whichkey.lua b/lua/config/whichkey.lua index 143ed61..44c7074 100644 --- a/lua/config/whichkey.lua +++ b/lua/config/whichkey.lua @@ -181,6 +181,11 @@ local mappings = { w = { "lua require('spectre').open_visual({select_word=true})", "Replace Word" }, f = { "lua require('spectre').open_file_search()", "Replace Buffer" }, }, + + T = { + name = "Treesitter", + p = { "TSPlaygroundToggle", "Playground" }, + }, } local vopts = { -- cgit v1.2.3-70-g09d2