aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* build(deps): bump gix from 0.56.0 to 0.57.0 (#9188)Sebastian Thiel2023-12-29
|
* consistent diagnostic sortingPascal Kuthe2023-12-27
|
* make diagnostics stick to word boundariesPascal Kuthe2023-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Diagnostics are currently extended if text is inserted at their end. This is desirable when inserting text after an identifier. For example consider: let foo = 2; --- unused variable Renaming the identifier should extend the diagnostic: let foobar = 2; ------ unused variable This is currently implemented in helix but as a consequence adding whitespaces or a type hint also extends the diagnostic: let foo = 2; -------- unused variable let foo: Bar = 2; -------- unused variable In these cases the diagnostic should remain unchanged: let foo = 2; --- unused variable let foo: Bar = 2; --- unused variable As a heuristic helix will now only extend diagnostics that end on a word char if new chars are appended to the word (so not for punctuation/ whitespace). The idea for this mapping was inspired for the word level tracking vscode uses for many positions. While VSCode doesn't currently update diagnostics after receiving publishDiagnostic it does use this system for inlay hints for example. Similarly, the new association mechanism implemented here can be used for word level tracking of inlay hints. A similar mapping function is implemented for word starts. Together these can be used to make a diagnostic stick to a word. If that word is removed that diagnostic is automatically removed too. This is the exact same behavior VSCode inlay hints eixibit.
* Add config to mark diagnostic sources as persistentPascal Kuthe2023-12-27
|
* build(deps): bump tokio from 1.35.0 to 1.35.1 (#9169)dependabot[bot]2023-12-27
| | | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.35.0 to 1.35.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.0...tokio-1.35.1) --- updated-dependencies: - dependency-name: tokio 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 anyhow from 1.0.75 to 1.0.76 (#9170)dependabot[bot]2023-12-27
| | | | | | | | | | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.75 to 1.0.76. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.76) --- updated-dependencies: - dependency-name: anyhow 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 futures-util from 0.3.29 to 0.3.30 (#9171)dependabot[bot]2023-12-27
| | | | | | | | | | | | | | | | Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.29 to 0.3.30. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30) --- updated-dependencies: - dependency-name: futures-util 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 thiserror from 1.0.51 to 1.0.52 (#9172)dependabot[bot]2023-12-27
| | | | | | | | | | | | | | | Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.51 to 1.0.52. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.51...1.0.52) --- updated-dependencies: - dependency-name: thiserror 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>
* Reduce logo.svg size (-93B) (#9106)goyalyashpal2023-12-22
| | | | | | | | | | | | | | | | | | | | | * chore(logo): PrettyPrint to reduce size by 93B ... * Current size: 2,755 B * Original size: 2,848 B * Add file's final newline (linux convention) * Remove tag separator spaces * Add newlines * Add tab indentation (instead of 2/4 spaces) * Prettify root svg's attribs * style(logo): Bring style attrb to front * chore(logo): Remove tab characters * chore(logo): Remove \n, use LF as final newline * chore(logo): Minify logo.svg ... * Remove final newline too
* Add markup styling to nord theme (#9135)Sharpened Blade2023-12-22
| | | Fixes https://github.com/helix-editor/helix/issues/9131
* Add .glif to XML file-types (#9130)romi2023-12-22
| | | | | | | | | `.glif` files are standard files in the type design industry. From the Unified Font Object specification website: The Glyph Interchange Format (GLIF) is a simple and clear XML representation of a single glyph. GLIF files typically have a .glif extension. https://unifiedfontobject.org/versions/ufo3/glyphs/glif/
* Update upload/download-artifact actions to v4 (#9120)Michael Davis2023-12-21
|
* theme: update noctis (#9123)0rphee2023-12-20
|
* add smali language support (#9089)Evan Richter2023-12-19
|
* build(deps): bump lsp-types from 0.94.1 to 0.95.0 (#9117)dependabot[bot]2023-12-19
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update README.md to add link to Kakoune and Neovim (#9119)Passw2023-12-19
|
* Support drawing popup frame (#4313)ath32023-12-19
| | | Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* theme: add horizon-dark (#9008)ves2023-12-19
|
* Add Avro schema file support (#9113)Lucas Wagler2023-12-19
|
* Add haskell-language-server as lsp for cabal files (#9111)0rphee2023-12-19
|
* feat(themes): add modus vivendi theme(s) (#8894)Matouš Dzivjak2023-12-19
|
* build(deps): bump thiserror from 1.0.50 to 1.0.51 (#9116)dependabot[bot]2023-12-19
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* when text document sync capability is only kind send didSave without text ↵Gabriel Dinner-David2023-12-17
| | | | | (#9101) see https://github.com/microsoft/language-server-protocol/issues/288 for details
* book: Describe usage of `.ignore` and helix-specific ignore files in ↵Novus Nota2023-12-17
| | | | `[editor.file-picker]` section (#9102)
* Add support for Agda (#8285)JJ2023-12-16
| | | | | | | | | | | | | | | | | | | | | | | * agda language support (wip) * improve highlights * disable agda-language-server * minor addendum to documentation * cargo xtask docgen * oh i can just do this neat * minor comment cleanup * upstream updated * imports: missed a spot --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* fix `:indent-style` crash (#9087)TornaxO72023-12-15
| | | | | | | * removing unreachable statement in `:indent-style` * update checks when setting indent line and update docs * `cargo xtask docgen`
* Add alignment indent queries for binary & ternary expressions in C.Daniel Ebert2023-12-15
|
* Simplify implementation of `add_indent_level`.Daniel Ebert2023-12-15
| | | | | Increase hybrid indent heuristic attempt limit to 4. Clarify the fallback logic in indent heuristic docs.
* Align arguments in a function call in C.Daniel Ebert2023-12-15
| | | | | | | | | Since the tree-sitter grammar is not very good at parsing function calls while they're being written, this is not yet super useful. However, it prevents the new `hybrid` indent heuristic from choosing these lines as a baseline, making it more robust.
* Add documentation for new indent computationDaniel Ebert2023-12-15
|
* Make the indent heuristic configurableDaniel Ebert2023-12-15
|
* Improve relative indent computation.Daniel Ebert2023-12-15
| | | | Add tests to ensure that relative & absolute indent computation are consistent.
* Implement relative indent queries,Daniel Ebert2023-12-15
| | | | | i.e. also take into account the indentation of a previous line when computing the indentation for a new line.
* fix: typo in scm files inside runtime/queries/ (#8630)Susheel Thapa2023-12-15
|
* Add tutor for match mode (#8751)JR2023-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add tutor for match mode * Improve the surround tutor * Add missing == in header * Reflow * Update runtime/tutor Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com> * Update runtime/tutor Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com> * Update runtime/tutor Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com> * Apply feedback --------- Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
* Specify BG and FG cursor colors in Darcula themes (#9002)Jesús González2023-12-15
|
* Change R markdown language name to fix language server detection (#9012)Matthew Toohey2023-12-15
|
* Add initial support for janet-lang (#9081)Phil2023-12-15
| | | | | * Add initial support for janet-lang * Use default roots for janet-lang
* build(deps): bump zerocopy from 0.7.20 to 0.7.31 (#9092)dependabot[bot]2023-12-15
| | | | | | | | | | | | | | | Bumps [zerocopy](https://github.com/google/zerocopy) from 0.7.20 to 0.7.31. - [Release notes](https://github.com/google/zerocopy/releases) - [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md) - [Commits](https://github.com/google/zerocopy/compare/v0.7.20...v0.7.31) --- updated-dependencies: - dependency-name: zerocopy dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update keymap.md: improve grammar (#9069)Valerii Petryniak2023-12-13
| | | | | | | | | | | * Update keymap.md: improve grammar * Update keymap.md Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com> --------- Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
* chore: Update tree-sitter-d (#9021)Michal Rostecki2023-12-13
| | | | One of the included changes is gdamore/tree-sitter-d#22 which fixes the build of Helix when using clang as `CC`.
* build(deps): bump gix from 0.55.2 to 0.56.0 (#9055)dependabot[bot]2023-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * build(deps): bump gix from 0.55.2 to 0.56.0 Bumps [gix](https://github.com/Byron/gitoxide) from 0.55.2 to 0.56.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.55.2...gix-v0.56.0) --- updated-dependencies: - dependency-name: gix dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Adapt to changes in gix EntryMode/EntryKind The rest of the gix codebase now calls `.kind()` on the mode and uses the renamed `EntryKind` enum. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* build(deps): bump rustix from 0.38.26 to 0.38.28 (#9054)dependabot[bot]2023-12-12
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump once_cell from 1.18.0 to 1.19.0 (#9053)dependabot[bot]2023-12-12
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump libc from 0.2.150 to 0.2.151 (#9056)dependabot[bot]2023-12-12
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump tokio from 1.34.0 to 1.35.0 (#9057)dependabot[bot]2023-12-12
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix version of Nix package (#9013)Tanguy2023-12-08
|
* Join empty lines with only one space in `join_selections` (#8989)TornaxO72023-12-06
| | | | | | | | | | | | | | | | | | * fix: #8977 fixes the issue that lines with only spaces are getting joined as well * reverting some renamings * improve empty line check * adding integration test * reverting code block * fix conditon check for line end * applying suggested style
* Update gleam grammar and queries (#9003)Frederick Schwalbe2023-12-05
|
* build(deps): bump open from 5.0.0 to 5.0.1 (#8992)dependabot[bot]2023-12-05
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>