From 47193a0f4fb5daab29766705e0ae4c552455c4c1 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Wed, 1 Mar 2023 20:37:56 +0000 Subject: [PATCH] docs: add IvyWorkspaceSymbols to the readme --- README.md | 13 +++++++------ lua/ivy/backends/lsp-workspace-symbols.lua | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ef817ad..e0e33fc 100644 --- a/README.md +++ b/README.md @@ -50,12 +50,13 @@ error: linker `cc` not found A command can be run that will launch the completion UI -| Command | Key Map | Description | -| ---------- | ----------- | ------------------------------------------------------ | -| IvyFd | \p | Find files in your project with the fd cli file finder | -| IvyAg | \/ | Find content in files using the silver searcher | -| IvyBuffers | \b | Search though open buffers | -| IvyLines | | Search the lines in the current buffer | +| Command | Key Map | Description | +| ------------------ | ----------- | ----------------------------------------------------------- | +| IvyFd | \p | Find files in your project with the fd cli file finder | +| IvyAg | \/ | Find content in files using the silver searcher | +| IvyBuffers | \b | Search though open buffers | +| IvyLines | | Search the lines in the current buffer | +| IvyWorkspaceSymbol | | Search for workspace symbols using the lsp workspace/symbol | ### Actions diff --git a/lua/ivy/backends/lsp-workspace-symbols.lua b/lua/ivy/backends/lsp-workspace-symbols.lua index c1c18d7..9878bf5 100644 --- a/lua/ivy/backends/lsp-workspace-symbols.lua +++ b/lua/ivy/backends/lsp-workspace-symbols.lua @@ -30,9 +30,9 @@ local function items(input) end local lsp_workspace_symbols = { - name = "WorkspaceSymbol", - command = "IvyWorkspaceSymbol", - description = "Search for workspace ymbol using the lsp workspace/symbol", + name = "WorkspaceSymbols", + command = "IvyWorkspaceSymbols", + description = "Search for workspace symbols using the lsp workspace/symbol", items = items, callback = utils.vimgrep_action(), }