Michael Lingelbach
519d8deb08
feat(lsp): add per-client commands ( #16101 )
2021-11-01 03:14:59 -07:00
jdrouhard
d1c470957b
feat(lsp): track pending+cancel requests on client object #15949
2021-10-29 05:45:01 -07:00
Michael Lingelbach
4f4dbfe81c
fix(lsp): update tests using 0.5.0 handler calls ( #15969 )
...
Fixes test regression introduced in https://github.com/neovim/neovim/pull/15262
2021-10-08 14:01:55 -07:00
Rishikesh Vaishnav
3f09732195
fix(lsp): expose ContentModified error code to callbacks ( #15262 )
2021-10-08 11:19:33 -07:00
Mathias Fußenegger
ec4731d982
feat(lsp): add codeAction/resolve support ( #15818 )
...
Closes https://github.com/neovim/neovim/issues/15339 and https://github.com/neovim/neovim/issues/15828
2021-09-28 14:04:01 -07:00
Michael Lingelbach
c217766f7c
feat(lsp): use cjson for lsp rpc ( #15759 )
2021-09-26 22:53:04 +02:00
Zi How Poh
c1f573fbc9
feat(lsp): support textDocument/prepareRename ( #15514 )
2021-09-08 17:00:15 +02:00
Akin Sowemimo
444f175335
fix(lsp): do not convert vim.NIL to nil in lists
2021-06-24 11:23:19 +01:00
Josa Gesell
d1074e0077
lsp: Resolve codeLense server capabilities ( #14056 )
2021-03-10 17:02:09 -05:00
Michael Lingelbach
e4e51c69d7
lsp: add incremental text synchronization
...
* Implementation derived from and validated by vim-lsc authored by Nate
Bosch
2021-03-09 20:14:08 -08:00
Matthieu Coudron
9d5f842807
lsp: remove deprecated references to 'callbacks' ( #13945 )
...
vim.lsp.callbacks was deprecated a few months ago. This is a cleanup before the release.
Use vim.lsp.handlers instead.
2021-02-23 00:02:51 +01:00
Michael Lingelbach
f3bbc92476
LSP: add test for workspace/configuration handler
2021-01-01 01:40:46 -08:00
francisco souza
6312792d8a
lsp: only send buf requests to servers that support the request ( #12764 )
...
Refactors how required capabilities are detected and validated, and make
sure requests are only sent to clients that support it (and only fail if
no clients support the provided method).
The validation happens at the buf_request level, because we assume that
if someone is sending the request directly through the client, they know
what they're doing. Also, let unknown methods go through.
This is extracted from #12518 and closes #12755 .
Co-authored-by: francisco souza <fsouza@users.noreply.github.com >
2020-10-25 00:28:15 -04:00
Justin M. Keyes
6e13b9d261
test/LSP: assert contents of log file
2020-02-16 22:09:28 -08:00
Justin M. Keyes
a446fbc8fa
lsp/rpc.lua: fix env
application function
...
Env vars must be merged with the current env.
2020-02-16 22:09:28 -08:00
Justin M. Keyes
1eb0f5371a
LSP: fix validate_client_config
...
- `cmd_env` is a table not a function.
- tests: Set $NVIM_LOG_FILE for fake LSP server.
2020-02-16 17:53:33 -08:00