From 1f82b16bea2887931f1af029eb843f06aa54c93a Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Mon, 20 Feb 2023 02:22:03 +0100 Subject: [PATCH] feat(telescope): add `sS` for `:Telescope lsp_workspace_symbols` --- lua/lazyvim/plugins/editor.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lua/lazyvim/plugins/editor.lua b/lua/lazyvim/plugins/editor.lua index 2178cc5a..8bb2ac1e 100644 --- a/lua/lazyvim/plugins/editor.lua +++ b/lua/lazyvim/plugins/editor.lua @@ -112,6 +112,24 @@ return { }), desc = "Goto Symbol", }, + { + "sS", + Util.telescope("lsp_workspace_symbols", { + symbols = { + "Class", + "Function", + "Method", + "Constructor", + "Interface", + "Module", + "Struct", + "Trait", + "Field", + "Property", + }, + }), + desc = "Goto Symbol (Workspace)", + }, }, opts = { defaults = {