| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* This adds a "single file mode" option for each language server
* Currently, if a root is not detected, a new language server is started
for each file opened.
* Root directory is set to `nil` in start_client. Some servers will
refuse to start, or otherwise panic. This is opt-in per server.
* Some servers, such as rust-analyzer, explicitly have a "single file
mode", we will not support that until it is officially part of the LSP
specification
Co-authored-by: Peter Lithammer <peter.lithammer@gmail.com>
|
| |
|
|
|
|
| |
Some servers (clangd, rust-analyzer) support using byte ranges (utf-8
encodings). Currently this logic is handled in the configuration's
on_init. This is moved into the on_init wrapper to avoid being
overridden accidentally by users.
|
| | |
|
| |
|
|
|
|
| |
Add a compatibility shim to `util.lua` adapting to change in handler signature
and use it where needed.
(Skip `rust-analyzer` and `denols` since their requests don't use handlers.)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fixes #770.
|
| |
|
|
| |
Clangd's docs moved to https://clangd.llvm.org
|
| |
|
|
|
|
|
| |
encoding
Also removes the utf8_config helper function which was only used by
clangd and is a clangd-specific protocol extension.
|
| |
|