Blaž Hrastnik
|
355ad3cb82
|
Tokio migration.
|
2021-05-06 13:56:34 +09:00 |
|
Blaž Hrastnik
|
3e5f24a9d5
|
lsp: support both utf-8 and utf-16 offsets.
Still need to implement the clangd encoding negotiation, but it's
a start. Should also manually override to utf8 for pyls.
|
2021-04-14 15:39:31 +09:00 |
|
Blaž Hrastnik
|
5aed1f3c00
|
lsp: Gracefully fail if binary doesn't exist.
|
2021-04-07 13:38:24 +09:00 |
|
Blaž Hrastnik
|
0e9ecccfc1
|
clippy: Drop or-patterns for now because they're not on stable rust yet
|
2021-04-06 19:51:15 +09:00 |
|
Blaž Hrastnik
|
ceea5eacd8
|
clippy lint
|
2021-03-31 23:42:16 +09:00 |
|
Blaž Hrastnik
|
2a3910c1d9
|
wip: Async async. Delay response handling with a callback.
|
2021-03-26 17:12:45 +09:00 |
|
Blaž Hrastnik
|
9a36d2c2a8
|
wip: Hooks & trigger characters for completion/signature_help.
|
2021-03-24 18:17:00 +09:00 |
|
Blaž Hrastnik
|
e9bd9e72c3
|
Pos conversions always operate on whole documents.
|
2021-03-18 15:23:42 +09:00 |
|
Blaž Hrastnik
|
15f142bc4b
|
lsp: Use into_iter->map->collect instead of manual loop.
|
2021-03-16 23:03:29 +09:00 |
|
Blaž Hrastnik
|
4240f757c0
|
lsp: Fix compilation errors.
|
2021-03-16 23:03:10 +09:00 |
|
Jan Hrastnik
|
a5f9080a9c
|
goto_request wip
|
2021-03-16 23:03:10 +09:00 |
|
Jan Hrastnik
|
b738ae1bc7
|
more goto lsp functions
|
2021-03-16 23:03:10 +09:00 |
|
Jan Hrastnik
|
0322c28e6b
|
gd now works for singular definition
|
2021-03-16 23:03:10 +09:00 |
|
Jan Hrastnik
|
8a68a04340
|
gotodefiniton now runs but doesnt return anything
|
2021-03-16 23:03:10 +09:00 |
|
Jan Hrastnik
|
d3ddc8dea6
|
wip
|
2021-03-16 23:03:10 +09:00 |
|
Blaž Hrastnik
|
eca2a73ad0
|
lsp: Pass through language_id on didOpenTextDocument.
|
2021-03-16 16:13:41 +09:00 |
|
Blaž Hrastnik
|
143cfe13e0
|
minor: TODO comment cleanup
|
2021-03-16 15:41:42 +09:00 |
|
Blaž Hrastnik
|
6cbfb050e2
|
lsp: Emit didSave notifications.
|
2021-03-12 16:25:12 +09:00 |
|
Blaž Hrastnik
|
4102992c46
|
Bump deps.
|
2021-03-01 14:33:02 +09:00 |
|
Blaž Hrastnik
|
1ae7c43391
|
commands: = as range formatting (via lsp)
|
2021-02-26 15:52:43 +09:00 |
|
Blaž Hrastnik
|
7162632eb7
|
lsp: Hover documentation draft.
|
2021-02-25 18:07:47 +09:00 |
|
Blaž Hrastnik
|
87a6d4e736
|
minor: Simplify some code.
|
2021-02-24 16:07:39 +09:00 |
|
Blaž Hrastnik
|
61ce2c9cfe
|
lsp: Disable snippet_support until we implement it.
|
2021-02-22 14:42:12 +09:00 |
|
Blaž Hrastnik
|
004a4f37a7
|
lsp: Handle responses being returned after request timed out.
|
2021-02-22 12:44:36 +09:00 |
|
Blaž Hrastnik
|
c9dd1c930e
|
treewide: &RopeSlice -> RopeSlice. It's Copy so no reason to pass by ref
|
2021-02-18 18:34:22 +09:00 |
|
Blaž Hrastnik
|
d5f9622e2e
|
lsp: edit events change ranges need to affect each other.
|
2021-02-17 17:28:55 +09:00 |
|
Blaž Hrastnik
|
b7da7f83c3
|
lsp: Test changeset_to_changes.
|
2021-02-16 15:45:46 +09:00 |
|
Blaž Hrastnik
|
0541fbb85f
|
Adjust LSP changeset generation too: insert now always preceedes delete.
|
2021-02-16 11:08:06 +09:00 |
|
Blaž Hrastnik
|
777a80917d
|
Address clippy lints.
|
2021-01-08 16:37:36 +09:00 |
|
Blaž Hrastnik
|
941c34a7fc
|
lsp: Move timeouts into client.request
|
2021-01-06 17:48:14 +09:00 |
|
Blaž Hrastnik
|
3cbab20908
|
lsp: Fix pos_to_lsp_pos calculation.
|
2020-12-25 17:42:50 +09:00 |
|
Blaž Hrastnik
|
2ab069bb3f
|
lsp: Work on syncing the state with the language server.
|
2020-12-25 17:20:09 +09:00 |
|
Blaž Hrastnik
|
56f2193811
|
Retrieve completion options on ctrl-x.
|
2020-12-23 16:20:49 +09:00 |
|
Blaž Hrastnik
|
955cb81687
|
Init lsp through the registry.
|
2020-12-23 15:50:16 +09:00 |
|
Blaž Hrastnik
|
39bf1ca825
|
Update deps.
|
2020-12-03 13:12:07 +09:00 |
|
Blaž Hrastnik
|
ae8a9e5bac
|
lsp: Make base request methods take &self instead of &mut self.
|
2020-12-03 13:10:35 +09:00 |
|
Blaž Hrastnik
|
cc6bdf8f66
|
Text change generation, RPC call handling.
|
2020-12-03 13:10:35 +09:00 |
|
Blaž Hrastnik
|
b39849dde1
|
Refactor: Document type as a wrapper around barebones State.
|
2020-12-03 13:10:35 +09:00 |
|
Blaž Hrastnik
|
81ccca0c6a
|
Improve error typing.
|
2020-12-03 13:10:35 +09:00 |
|