Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Use RustLSP library.
Browse files Browse the repository at this point in the history
A more extensive and principled way to handle the LSP protocol. Adds
*interface* support for all LSP requests.

Fixes:
* 'completionItem/resolve' should return CompletionItem not a vector
* Concurrent handling of requests. Requests must be handled in order,
otherwise, for example, text document changes could be applied out of
order. Only read-only requests can conceptually be executed in parallel
(since that would have the same result as if they were processed in
order). See here for more info:
microsoft/language-server-protocol#12

TODO for RustLSP:
 * Cancel support
  • Loading branch information
bruno-medeiros authored and bruno committed Dec 30, 2016
1 parent bee4208 commit 145f5b2
Show file tree
Hide file tree
Showing 7 changed files with 421 additions and 528 deletions.
50 changes: 46 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = ["Jonathan Turner <jturner@mozilla.com>"]
cargo = { path = "../cargo" }
derive-new = "0.3"
env_logger = "0.3"
languageserver-types = { version = "0.5.0", git = "https://github.com/gluon-lang/languageserver-types" }
rust_lsp = { version = "0.6.0", git = "https://github.com/RustDT/RustLSP" }
log = "0.3"
racer = { git = "https://github.com/phildawes/racer" }
rls-span = { git = "https://github.com/nrc/rls-span" }
Expand Down
Loading

0 comments on commit 145f5b2

Please sign in to comment.