aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2020-11-25 12:07:02 -0800
committerGitHub <noreply@github.com>2020-11-25 21:07:02 +0100
commit0d83a1c43fbcefae5c96b53e81528553bba5a1ab (patch)
tree45d12288fee1f64dadfa53c24d73dedd52a80a00 /runtime/doc
parent2d5dd85eef3be0a0a4073964ddbb849c586bc6a1 (diff)
downloadrneovim-0d83a1c43fbcefae5c96b53e81528553bba5a1ab.tar.gz
rneovim-0d83a1c43fbcefae5c96b53e81528553bba5a1ab.tar.bz2
rneovim-0d83a1c43fbcefae5c96b53e81528553bba5a1ab.zip
LSP: Feature/add workspace folders (#12638)
* First implementation of workspace folders * Add completion for current directory * Add tracking of workspace folders * Add workspace folder listing * Add checks on adding/removing workspaces * Add appropriate initialization options * Add documentation * Make workspaceFolders available wherever client is
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 4cab716df0..5747ba6044 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -996,6 +996,19 @@ type_definition() *vim.lsp.buf.type_definition()*
Jumps to the definition of the type of the symbol under the
cursor.
+add_workspace_folder({path}) *vim.lsp.buf.add_workspace_folder()*
+ Add the folder at path to the workspace folders. If {path} is
+ not provided, the user will be prompted for a path using
+ |input()|.
+
+remove_workspace_folder({path}) *vim.lsp.buf.remove_workspace_folder()*
+ Remove the folder at path from the workspace folders. If
+ {path} is not provided, the user will be prompted for
+ a path using |input()|.
+
+list_workspace_folders() *vim.lsp.buf.list_workspace_folders()*
+ List all folders in the workspace.
+
workspace_symbol({query}) *vim.lsp.buf.workspace_symbol()*
Lists all symbols in the current workspace in the quickfix
window.