Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | lsp: This doesn't need to be a mutable reference | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | lsp: doc.language_server() is None until initialize completes | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | lsp: Don't send notifications until initialize completes | Blaž Hrastnik | 2021-09-06 | |
| | | | | Then send open events for all documents with the LSP attached. | |||
* | lsp: SyncKind::Full: we need to send the whole document on each change | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | lsp: Outdated comment | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | ls: Refactor textDocument/didSave in a similar vein | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | lsp: refactor format so we stop cloning the language_server | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | wip | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | lsp: Delay requests & notifications until initialization is complete | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | lsp: Refactor capabilities as an async OnceCell | Blaž Hrastnik | 2021-09-06 | |
| | | | | First step in making LSP init asynchronous | |||
* | fix: lsp: Terminate transport on EOF | Blaž Hrastnik | 2021-09-06 | |
| | | | | If stdout/stderr is closed, read_line will return 0 indicating EOF. | |||
* | fix: lsp: Don't consume \n\n as a single newline | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | lsp: Improve line ending handling when generating TextEdit | Blaž Hrastnik | 2021-09-06 | |
| | ||||
* | fix: Work around crashes on LSPs that don't just emit JSON-RPC | Blaž Hrastnik | 2021-08-29 | |
| | ||||
* | lsp: slightly refactor header parsing, add more logging | Blaž Hrastnik | 2021-08-29 | |
| | ||||
* | don't panic on defunct lsp process (#583) | Timothy DeHerrera | 2021-08-23 | |
| | ||||
* | lsp: Refactor duplex to avoid issues with select! + read_exact | Blaž Hrastnik | 2021-08-07 | |
| | | | | | | read_exact isn't cancellation safe. Fixes #504 | |||
* | feat: code actions - document edits (#478) | Grzegorz Baranski | 2021-07-24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip: Code actions * fix(term): use current macro instead Context::context * feat(lsp): set code_action capabilities * feat(term): set SPC-a to code_action * feat(term): wip on applying code actions * deps: `cargo update` * feat(term): applying code actions edits * fix(term): cleanup of apply_edit * fix(term): applying edits as a whole thing instead one by one * refactor(term): move apply_edits below * fix(term): improve unimplemented messages for further investigation * fix(term): change code action command comment Co-authored-by: Ivan Tham <pickfire@riseup.net> * fix(term): add matching `}` * fix(term): cleanup, todo!() on workspace edit * fix(term): remove unrelated workspace_symbol_picker * fix(term): apply cargo-clippy suggestions * fix(term): replace todo!'s with editor.set_error Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Ivan Tham <pickfire@riseup.net> | |||
* | Added option to provide a custom config file to the lsp. (#460) | Cor Peters | 2021-07-18 | |
| | | | | | | | | | | | | | | | | | * Added option to provide a custom config file to the lsp. * Simplified lsp loading routine with anyhow * Moved config to language.toml * Fixed test case * Cargo fmt * Revert now-useless changes * Renamed custom_config to config Co-authored-by: Cor <prive@corpeters.nl> | |||
* | Make formatting happen asynchronously. | Joe Neeman | 2021-06-30 | |
| | ||||
* | Address nightly clippy warnings | Blaž Hrastnik | 2021-06-27 | |
| | ||||
* | Merge pull request #224 from helix-editor/line_ending_detection | Blaž Hrastnik | 2021-06-22 | |
|\ | | | | | Line ending detection | |||
| * | Work on moving code over to LineEnding instead of assuming '\n'. | Nathan Vegdahl | 2021-06-20 | |
| | | | | | | | | Also some general cleanup and some minor fixes along the way. | |||
* | | Add progress spinners to status line | wojciechkepka | 2021-06-21 | |
|/ | ||||
* | Fix unwraps in lsp::transport | wojciechkepka | 2021-06-19 | |
| | ||||
* | Handle language server shutdown with timeout | wojciechkepka | 2021-06-19 | |
| | ||||
* | Reenable `work_done_progress` capability | wojciechkepka | 2021-06-18 | |
| | ||||
* | Add unique id to each lsp client/server pair | wojciechkepka | 2021-06-18 | |
| | ||||
* | Update `client::reply` to be non async | wojciechkepka | 2021-06-18 | |
| | ||||
* | Add `work_done_token` as parameter to lsp methods | wojciechkepka | 2021-06-18 | |
| | ||||
* | Add `MethodCall`, `ProgressStatus`, `LspProgressMap` | wojciechkepka | 2021-06-18 | |
| | ||||
* | add symbol picker (#230) | Robin | 2021-06-12 | |
| | | | | | | | | | * add symbol picker use the lsp document_symbol request * fix errors from merging in master * add docs for symbol picker | |||
* | lsp: Check bounds when converting lsp positions (#204) | Wojciech Kępka | 2021-06-12 | |
| | | | | | | | | | * lsp: Make position conversion funcs return `Option` * Add tests * Fixes * Revert pos_to_lsp_pos to panic | |||
* | Temporarily disable workDone | Blaž Hrastnik | 2021-06-11 | |
| | | | Blows up on gopls because we don't handle receiving window/workDoneProgress/create method calls | |||
* | lsp: Display LSP progress messages (#216) | Wojciech Kępka | 2021-06-11 | |
| | ||||
* | Derive debug without feature | Ivan Tham | 2021-06-10 | |
| | | | | Note that this also removed those `finish_non_exhaustive()`. | |||
* | Implement Debug for data structure as a feature | notoria | 2021-06-10 | |
| | ||||
* | helix-lsp cleanup | Egor Karavaev | 2021-06-08 | |
| | ||||
* | Don't panic on LSP not starting | Egor Karavaev | 2021-06-08 | |
| | ||||
* | lsp: Provide workspace root on client.initialize() | Blaž Hrastnik | 2021-06-07 | |
| | ||||
* | Remove select_all implementation | Egor Karavaev | 2021-06-04 | |
| | ||||
* | Add :fmt (formats the whole file). | Blaž Hrastnik | 2021-05-12 | |
| | ||||
* | Lint | Blaž Hrastnik | 2021-05-09 | |
| | ||||
* | Remove some of the panics, just log instead. | Blaž Hrastnik | 2021-05-08 | |
| | ||||
* | clippy lint | Blaž Hrastnik | 2021-05-06 | |
| | ||||
* | Work around the rest of the blocking issues. | Blaž Hrastnik | 2021-05-06 | |
| | ||||
* | Start moving more LSP calls into callbacks/futures without capturing self | Blaž Hrastnik | 2021-05-06 | |
| | ||||
* | Tokio migration. | Blaž Hrastnik | 2021-05-06 | |
| | ||||
* | Add window/showMessage / logMessage stubs so gopls fully starts. | Blaž Hrastnik | 2021-04-15 | |
| | ||||
* | lsp: support both utf-8 and utf-16 offsets. | Blaž Hrastnik | 2021-04-14 | |
| | | | | | Still need to implement the clangd encoding negotiation, but it's a start. Should also manually override to utf8 for pyls. |