diff options
author | sim <simrats169169@gmail.com> | 2021-07-20 13:00:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 22:00:38 +0200 |
commit | 710b9ed1c78484546376603c2874743dda201db8 (patch) | |
tree | 2003845205e59a42bc9a9bcaf58c152ca2a55c2e /runtime/lua/vim/treesitter/query.lua | |
parent | 2475161defb775b0104dbe8b504a5299044584a2 (diff) | |
download | rneovim-710b9ed1c78484546376603c2874743dda201db8.tar.gz rneovim-710b9ed1c78484546376603c2874743dda201db8.tar.bz2 rneovim-710b9ed1c78484546376603c2874743dda201db8.zip |
lsp(start_client): Allow passing custom workspaceFolders to the LSP (#15132)
Some language servers *cough*rust-analyzer*cough* need an empty/custom
workspaceFolders for certain usecases. For example, rust-analyzer
needs an empty workspaceFolders table for standalone file support
(See https://github.com/rust-analyzer/rust-analyzer/pull/8955).
This can also be useful for other languages that need to commonly
open a certain directory (like flutter or lua), which would help
prevent spinning up a new language server altogether.
In case no workspaceFolders are passed, we fallback to what we had
before.
Diffstat (limited to 'runtime/lua/vim/treesitter/query.lua')
0 files changed, 0 insertions, 0 deletions