diff options
| author | Julian Visser <12615757+justmejulian@users.noreply.github.com> | 2025-06-18 13:52:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-18 04:52:17 -0700 |
| commit | 32f30c4874a0fdfbad427b0f4b699638c53f0ccd (patch) | |
| tree | a559aa9d1ff610b14cb2c62a64b3495635fdb6b8 /runtime/lua/vim/_extui/shared.lua | |
| parent | aa8c86e8f357e4746bce3256dd860b70f80fb23e (diff) | |
| download | rneovim-32f30c4874a0fdfbad427b0f4b699638c53f0ccd.tar.gz rneovim-32f30c4874a0fdfbad427b0f4b699638c53f0ccd.tar.bz2 rneovim-32f30c4874a0fdfbad427b0f4b699638c53f0ccd.zip | |
feat(lsp): pass resolved config to cmd() #34550
Problem:
In LSP configs, the function form of `cmd()` cannot easily get the
resolved root dir (workspace). One of the main use-cases of a dynamic
`cmd()` is to be able to start a new server whose binary may be located
*in the workspace* ([example](https://github.com/neovim/nvim-lspconfig/pull/3912)).
Compare `reuse_client()`, which also receives the resolved config.
Solution:
Pass the resolved config to `cmd()`.
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions