Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Fix typo in syntax.rs (#7114) | Ikko Eltociear Ashimine | 2023-05-26 | |
| | | | seperator -> separator | |||
* | Support hidden justfiles (#7088) | William Etheredge | 2023-05-26 | |
| | ||||
* | Treat 'Vagrantfile' files as Ruby code (#7112) | Brandon Sprague | 2023-05-26 | |
| | | | | | | | | | | `Vagrantfile`s are configuration files for the [vagrant](https://www.vagrantup.com/) tool, and they are written in Ruby. Even as vagrant [is ported to Go](https://www.hashicorp.com/blog/toward-vagrant-3-0), `Vagrantfile`s [will be written in Ruby](https://developer.hashicorp.com/vagrant/docs/experimental/vagrant_go) When a Vangrantfile is created, it starts with these lines: ``` ``` But since Helix (quite reasonably) doesn't change editor behavior based on file contents, adding this to `languages.toml` seems like a reasonable way to get this functionality. | |||
* | Update languages.toml for Nickel (#7059) | Viktor Kleen | 2023-05-26 | |
| | ||||
* | Update language support doc | Blaž Hrastnik | 2023-05-26 | |
| | ||||
* | fix compilation | Blaž Hrastnik | 2023-05-26 | |
| | ||||
* | Drop old cairo grammar, alias to rust for now | Blaž Hrastnik | 2023-05-26 | |
| | ||||
* | Fix off-by-one in select symbol references (#7132) | Matthew Toohey | 2023-05-25 | |
| | ||||
* | Update diagnostics correctly on LSP exit (#7111) | Poliorcetics | 2023-05-23 | |
| | | | | | | | * chore: avoid format! call with argument when useless * feat: also clear diagnostics for unopened documents when exiting an LSP * feat: we already worked on `self.editor.diagnostics` no need to redo the checks | |||
* | build(deps): bump bitflags from 2.2.1 to 2.3.1 (#7117) | dependabot[bot] | 2023-05-23 | |
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||
* | build(deps): bump toml from 0.7.3 to 0.7.4 (#7120) | dependabot[bot] | 2023-05-23 | |
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||
* | build(deps): bump regex from 1.8.1 to 1.8.2 (#7119) | dependabot[bot] | 2023-05-23 | |
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||
* | build(deps): bump pulldown-cmark from 0.9.2 to 0.9.3 (#7118) | dependabot[bot] | 2023-05-23 | |
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||
* | feat(languages): recognise `Cargo.lock` as TOML | yvt | 2023-05-22 | |
| | ||||
* | Recognise XAML files as XML (#7083) | Chris | 2023-05-20 | |
| | ||||
* | fix(docs): Remove `config` from language configuration docs (#7082) | LeoniePhiline | 2023-05-20 | |
| | ||||
* | Add command to merge non-consecutive ranges (#7053) | Szabin | 2023-05-19 | |
| | | | | | | | | | | | * Add command for merging non-consecutive ranges * Add `merge_selections` command to book * Simplify `merge_ranges` Heeded the advice of @the-mikedavis to stop iterating over all ranges and simply merge the first and the last range, as the invariants of `Selection` guarantee that the list of ranges is always sorted and never empty. * Clarify doc comment of `merge_ranges` | |||
* | fix off-by-one git-commit rulers (#7072) | Charles Hall | 2023-05-19 | |
| | | | Characters should maximally reside *inside* the ruler, not on top of it. | |||
* | nix: add overlay for convenient package usage (#7078) | Yt | 2023-05-19 | |
| | ||||
* | Merge pull request #2507 from Philipp-M/multiple-language-servers | Blaž Hrastnik | 2023-05-19 | |
|\ | | | | | Add support for multiple language servers per language | |||
| * | Rebase cleanup/fixes and use lsp::CompletionItem in item_to_transaction directly | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Clarify language-servers documentation for mergeable LSP features ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | (`diagnostics`, `code-action`, `completion`, `document-symbols` and `workspace-symbols`) | |||
| * | Sort language servers table in languages.toml and rename language server 'R' ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | to 'r' | |||
| * | Apply all review suggestions (doc_id -> id, error message, unnecessary if) | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> | |||
| * | Simplify gutter diagnostics rendering by using partition_point instead of ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | | | | | binary search Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> | |||
| * | Some minor clarity/cosmetic improvements | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> | |||
| * | Add function `Editor::language_server_by_id` and refactor/simplify related ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | code, also don't 'crash' in completion menu if language_server somehow disappeared | |||
| * | Remove TODO comment in helix_lsp::Registry::restart and add doc-comment on ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | top of function instead | |||
| * | Reorder id generation for Clients to stay close to the old behavior | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Reduce boilerplate by 'use lsp::*' in Client::supports_feature, and remove ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | TODO comment | |||
| * | Fix lsp_restart across multiple different document scopes (language servers ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | weren't restarted, if not of the same scope id), and fix some smaller rebase issues | |||
| * | Fix crash with filtered diagnostics in gutter (e.g. when diagnostics aren't ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | visible) | |||
| * | Remove offset_encoding in CodeActionOrCommandItem, as it can be retrieved on ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | demand | |||
| * | Maintain language servers TOML array order in `doc.language_servers` | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Filter language servers also by capabilities in ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | | | | | | | | | | | `doc.language_servers_with_feature` * Add `helix_lsp::client::Client::supports_feature(&self, LanguageServerFeature)` * Extend `doc.language_servers_with_feature` to use this method as filter as well * Add macro `language_server_with_feature!` to reduce boilerplate for non-mergeable language server requests (like goto-definition) * Refactored most of the `find_map` code to use the either the macro or filter directly via `doc.language_servers_with_feature` | |||
| * | Fix docgen again | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Filter out already seen language servers in requests that can be sent to ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | multiple language servers (code-action, completion, symbol pickers) | |||
| * | Optimize gutter diagnostics and simplify shown_diagnostics | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Use let else instead of variable and fix some error messages | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> | |||
| * | Remove offset_encoding in CompletionItem | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Refactor doc language servers to a HashMap, and the config to use a Vec to ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | retain order | |||
| * | Remove symbol picker is_empty check | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Simplify 'lsp_stop' command | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Fix docgen and lsp-stop documentation | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Remove boilerplate in the goto methods by generically composing functions | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Format/fix language docs a bit | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Refactor doc.shown_diagnostics to avoid an extra HashSet | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> | |||
| * | Add method doc.supports_language_server for better readability | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Simplify Display implementation for LanguageServerFeature | Philipp Mildenberger | 2023-05-18 | |
| | | ||||
| * | Refactored doc.language_servers and doc.language_servers_with_feature to ↵ | Philipp Mildenberger | 2023-05-18 | |
| | | | | | | | | | | | | return an iterator and refactor LanguageServerFeature handling to a HashMap (language server name maps to features) Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> |