feat(snacks.picker): added leader-sS to search lsp workspace symbols

This commit is contained in:
Folke Lemaitre 2025-01-19 18:33:47 +01:00
parent 4e8d75144d
commit 8787ec1227
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -113,6 +113,7 @@ return {
{ "gI", function() Snacks.picker.lsp_implementations() end, desc = "Goto Implementation" },
{ "gy", function() Snacks.picker.lsp_type_definitions() end, desc = "Goto T[y]pe Definition" },
{ "<leader>ss", function() Snacks.picker.lsp_symbols({ filter = LazyVim.config.kind_filter }) end, desc = "LSP Symbols", has = "documentSymbol" },
{ "<leader>sS", function() Snacks.picker.lsp_workspace_symbols({ filter = LazyVim.config.kind_filter }) end, desc = "LSP Workspace Symbols", has = "workspace/symbols" },
})
end,
},