aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix typoPascal Kuthe2023-03-16
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* allow empty placeholdersPascal Kuthe2023-03-16
|
* revamped snippet text element parsingPascal Kuthe2023-03-16
| | | | | | | | | | | | | | Snippet text elements can contain escape sequences that must be treated properly. Furthermore snippets must always escape certain characters (like `}` or `\`). The function has been updated to account for that. `text` is now also included with `anything` to match the grammar and can also match empty text. To avoid infinite loops the `non-empty` combinator has been added which is automatically used in the `one_or_more` and `zero_or more` combinator where the problemn would occur.
* always parse the entire snippetPascal Kuthe2023-03-16
| | | | | | Previously any remaining text of the snippet that could not be parsed was ignored. This commit adds the `parse_all` function which reports an error if any text was not consumed by the parser
* set WorkspaceEditCapabilities correctlyPascal Kuthe2023-03-16
|
* discard outdated workspace edits recived from the LSPascal Kuthe2023-03-16
|
* discard outdated diagnostics recived by the LSPascal Kuthe2023-03-16
|
* Prevent whitespace from rendering inside inlay hints (#6312)Thomas Schollenberger2023-03-16
| | | | | | | | | | | * fix spaces and nbsps showing in inlay hints * remove origin * virtual tab + fix unneeded clone * update virtual tab determining location * fix clippy lint
* Add inlay-hint style for solarized themes. (#6327)Ryan Roden-Corrent2023-03-16
| | | | This uses the same color as comments, which is a light gray in both dark and light. I think it also looks nice with italics.
* Improve tree-sitter queries for vlang (#6279)Erasin Wang2023-03-15
| | | | | | - Update hightlight - add indents - add textobject - add injections
* Update gdscript highlight (#6311)Erasin Wang2023-03-15
| | | | | | - add gdscript2 type.builtin - add gdscript2 keyword 'await' - update label for more note_path - update function and parmeter
* feat: lint for `ui.virtual` and catch present and future virtual based ↵Alexander Brevig2023-03-15
| | | | | | | features (#6320) * feat: lint for inlay-hint.parameter and .type * fix: lint against ui.virtual and not the new inlay-hint specifically
* adjust inlay hints, color modes and virtual for fleet dark (#6324)Kristoffer Flottorp2023-03-15
| | | | | | | | | * adjust inlay hints and color modes for fleet dark * adjust virtual + ruler color --------- Co-authored-by: krfl <kr.fl@outlook.com>
* fix: flatwhite with inlay (#6323)Alexander Brevig2023-03-15
|
* Improved file reload error message (#6274)Santiago Vrancovich2023-03-14
|
* Autumn theme: add gray tone for inlay-hint (#6316)Jens Getreu2023-03-14
| | | Co-authored-by: Jens Getreu <getreu@getreu@web.de>
* fix compilationBlaž Hrastnik2023-03-14
|
* Only complete appropriate arguments for typed commands. (#5966)Kyle Smith2023-03-14
|
* Add undercurl config option #6196 (#6253)Jonatan Pettersson2023-03-14
| | | If set to 'true' this option will force terminal undercurl support.
* build(deps): bump serde from 1.0.152 to 1.0.155 (#6303)dependabot[bot]2023-03-14
| | | | | | | | | | | | | | | Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.155. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.155) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump gix from 0.39.0 to 0.41.0 (#6306)dependabot[bot]2023-03-14
| | | | | | | | | | | | | | | | Bumps [gix](https://github.com/Byron/gitoxide) from 0.39.0 to 0.41.0. - [Release notes](https://github.com/Byron/gitoxide/releases) - [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md) - [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.39.0...gix-v0.41.0) --- updated-dependencies: - dependency-name: gix dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update Nix highlightsMichael Davis2023-03-14
| | | | | | * Switch nix grammar repository location to the new repo. The author has transferred the repository to 'nix-community'. * Capture ':' and '...' as 'punctuation.delimiter'.
* Update Erlang highlightsMichael Davis2023-03-14
| | | | | | | * Macros that start with underscore were incorrectly marked as 'comment.unused' rather than 'keyword.directive' due to an ordering issue of those two patterns. * Recognize escripts as Erlang by the shebang.
* theme: Use inheritance for gruvbox themes (#6295)Michael Davis2023-03-14
| | | | | These gruvbox variants were introduced before theme inheritance and only differ by a few colors. This change cleans up the duplicated theming with theme inheritance.
* build(deps): bump indoc from 2.0.0 to 2.0.1 (#6302)dependabot[bot]2023-03-14
| | | | | | | | | | | | | | | Bumps [indoc](https://github.com/dtolnay/indoc) from 2.0.0 to 2.0.1. - [Release notes](https://github.com/dtolnay/indoc/releases) - [Commits](https://github.com/dtolnay/indoc/compare/2.0.0...2.0.1) --- updated-dependencies: - dependency-name: indoc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump toml from 0.7.2 to 0.7.3 (#6305)dependabot[bot]2023-03-14
| | | | | | | | | | | | | | | Bumps [toml](https://github.com/toml-rs/toml) from 0.7.2 to 0.7.3. - [Release notes](https://github.com/toml-rs/toml/releases) - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.2...toml-v0.7.3) --- updated-dependencies: - dependency-name: toml dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump libc from 0.2.139 to 0.2.140 (#6304)dependabot[bot]2023-03-14
| | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.139 to 0.2.140. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.139...0.2.140) --- updated-dependencies: - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump chrono from 0.4.23 to 0.4.24 (#6301)dependabot[bot]2023-03-14
| | | | | | | | | | | | | | | | Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.23 to 0.4.24. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.23...v0.4.24) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* queries/php: add missing keywords `unset` and `clone` (#6299)Ivan2023-03-14
|
* LSP: Separate diagnostic picker message and code (#6095)Francesc Elies2023-03-13
|
* Check language server symbol renaming support before prompting (#6257)misiasty32023-03-13
| | | Co-authored-by: Poliorcetics <poliorcetics@users.noreply.github.com>
* Update gruvbox color themes to support inlay hint (#6285)Josh Bainbridge2023-03-13
| | | | | | | | | | | | The gruvbox themes (gruvbox, gruvbox dark hard and guvbox light) don't provide a colour for the new virtual inlay hints. Looking at the original repo, and other derivatives, there doesn't appear to be a clear definition of what inlay hints should be. Although most sources indicate that it can be the same as the color for comments. Considering that, this commit sets the new field on each of the three themes to be gray1, same as commented text. Signed-off-by: Josh Bainbridge <josh.bainbridge@gmail.com>
* Add molokai theme (#6260)Maxwell Anderson2023-03-13
|
* add ui.inlay-hint (#6292)workingj2023-03-13
|
* helix-term: send the STOP signal to all processes in the process group (#3546)Cole Helbling2023-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * helix-term: send the STOP signal to all processes in the process group From kill(3p): If pid is 0, sig shall be sent to all processes (excluding an unspecified set of system processes) whose process group ID is equal to the process group ID of the sender, and for which the process has permission to send a signal. This fixes the issue of running `git commit`, attempting to suspend helix with ^Z, and then not regaining control over the terminal and having to press ^Z again. * helix-term: use libc directly to send STOP signal * helix-term: document safety of libc::kill * helix-term: properly handle libc::kill's failure I misread the manpage for POSIX `kill` -- it returns `-1` in the failure case, and sets `errno`, which is retrieved via `std::io::Error::last_os_error()`, has its string representation printed out, and then exits with the matching status code (or 1 if, for whatever reason, there is no matching status code). * helix-term: expand upon why we need to SIGSTOP the entire process group Also add a link back to one of the upstream issues.
* LSP: No-op client/registerCapability requests (#6258)Michael Davis2023-03-13
|
* Test indentation level calculation (#6281)Jonatan Pettersson2023-03-12
| | | Co-authored-by: Jonatan Pettersson <jonatan.pettersson@proton.me>
* Fix indentation level calculation for lines mixing tabs and spaces (#6278)Stanisław Borowy2023-03-12
|
* Autumn theme: add `ui.virtual.inlay-hint` config (#6280)Jens Getreu2023-03-12
| | | The configuration differs between parameters (upright) and types (slanted).
* dark_plus: theme inlay-hint (#6283)Kirawi2023-03-12
| | | | | | | | | | | Taken from the official theme: ```json "editorInlayHint.background": "#4d4d4dcc", "editorInlayHint.foreground": "#ffffff", "editorInlayHint.parameterBackground": "#4d4d4dcc", "editorInlayHint.parameterForeground": "#ffffff", "editorInlayHint.typeBackground": "#4d4d4dcc", "editorInlayHint.typeForeground": "#ffffff", ```
* Theme onelight add inlay-hint (#6276)Erasin Wang2023-03-12
| | | | | | - fix: add `markup.strikethrough` for theme.md - add virtual.inlay-hint - fix ui.virtual.wrap - rename light-white to grey-300
* theme/catppuccin: add ui.virtual.inlay-hint (#6269)Ivan2023-03-11
|
* Document how to run tests (#6268)Jonatan Pettersson2023-03-11
| | | Co-authored-by: Jonatan Pettersson <jonatan.pettersson@proton.me>
* fleet_dark: theme inlay hints (#6266)Kirawi2023-03-11
|
* fix: C++ namespace indentationBlaž Hrastnik2023-03-11
| | | | fixes #6235
* indent snippets to line indent instead of completion start (#6263)Pascal Kuthe2023-03-11
|
* Feat: LSP Type Hints (#5934)Poliorcetics2023-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * misc: missing inline, outdated link * doc: Add new theme keys and config option to book * fix: don't panic in Tree::try_get(view_id) Necessary for later, where we could be receiving an LSP response for a closed window, in which case we don't want to crash while checking for its existence * fix: reset idle timer on all mouse events * refacto: Introduce Overlay::new and InlineAnnotation::new * refacto: extract make_job_callback from Context::callback * feat: add LSP display_inlay_hint option to config * feat: communicate inlay hints support capabilities of helix to LSP server * feat: Add function to request range of inlay hint from LSP * feat: Save inlay hints in document, per view * feat: Update inlay hints on document changes * feat: Compute inlay hints on idle timeout * nit: Add todo's about inlay hints for later * fix: compute text annotations for current view in view.rs, not document.rs * doc: Improve Document::text_annotations() description * nit: getters don't use 'get_' in front * fix: Drop inlay hints annotations on config refresh if necessary * fix: padding theming for LSP inlay hints * fix: tracking of outdated inlay hints should not be dependant on document revision (because of undos and such) * fix: follow LSP spec and don't highlight padding as virtual text * config: add some LSP inlay hint configs
* Also highlight unchecked variants of the sqlx query methods (#6256)Maxicarlos082023-03-10
|
* queries/php: add injections for regex and sql injection (#6250)Ivan2023-03-10
|
* Add a version-control statusline element (#5682)Dimitar Gyurov2023-03-10
|