-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LSP config (settings) interface #24054
Comments
This is probably too big of a rework and/or doesn't work as well as it does in my head, but it's interesting to think about imo so I'll throw it out here: |
also need consider file is library file. in this case usually need attach to a exist client . provide a field |
It could also be an option to overload those to Although this would still only address the "per client" (static) configuration. Regarding vim.lsp.config:
I think this is a bit of a red herring. We've I think if we do a |
|
Problem
Discussion in #23984 (comment) and other LSP work indicates we need a full story for configuring LSP clients...
#22598 (comment)
Expected behavior
vim.lsp.config
: feat(lsp): add vim.lsp.config #18506workspaceFolder
instead of "root markers"Rejected ideas
vim.lsp.start()
, e.g.start({ ..., formatting = false, semantic_tokens = false, inlay_hints = true, ... })
start()
flags are not sufficient.vim.lsp.start({capabilities={...}})
The text was updated successfully, but these errors were encountered: