aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Extend groovy support (#9677)Benedikt Ritter2024-03-17
| | | | | | | | | | | | | | | | | | | | | | | | * Extend groovy support Use more complete parser introduced in nvm-treesitter in https://github.com/nvim-treesitter/nvim-treesitter/commit/d4dac523d2546afc266eb9b5a7986690b5319c41 * Update runtime/queries/groovy/locals.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Drop indent.scm for groovy It was copied from the tree-sitter repository but is not compatiblw with the way indent queries are implemented in Helix. * Adapt groovy highlights to helix syntax * Update documentation --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update to modus-themes 4.4.0 (#9912)Alexis Mousset2024-03-17
|
* Fix URL in doc chapter about Textobject queries (#5773)Jonas De Vuyst2024-03-17
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* add 'file-absolute-path' to statusline (#4535)Dan Cardamore2024-03-17
| | | | | | | | | | | * feat: add 'file-abs-path' to statusline (#4434) * cleanup implementation * rename to be non-abbreviated names --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add Support for JSONC (#9906)George "Riye" Hollister2024-03-17
| | | | | | | | | | | | * Added `jsonc` language with support for comments The `vscode-json-language-server` accepts `jsonc` as a language id. Allowing the use of comments within JSON files. * fix: Update `injdection-rejex` to be unique * fix: use includes to remove redundant queries * ci: Generate language-support docs
* Add support for hyprland config (#9899)Arthur Deierlein2024-03-17
| | | | | | | * feat: add hyprland config language * adjust indents to helix * adjust highlights to helix
* fix typo "braket" in jsx highlights (#9910)Arthur Deierlein2024-03-17
|
* Keybind for Extend/shrink selection up and down (#9080)Emi2024-03-17
| | | | | | | | | | | | | | | | | | | * implement another selection modifying command * Selection feels more ergonomic in case of swapping the direction. This also fixes a problem when starting at an empty line. * rename select_line_up/down to select_line_above/below * apply clippy suggestion of using cmp instead of if-chain * revert `Extent` implementing `Clone/Copy` * move select_line functions below extend_line implementations * implement help add function, which saturates at the number of text lines --------- Co-authored-by: Emi <emanuel.boehm@gmail.com>
* Fix comment key bind behaviour in OCaml (#9894)Nick2024-03-16
|
* Handle starting and continuing the count separately (#9887)Michael Davis2024-03-15
|
* Update regex-cursor (#9891)Mike Trinkala2024-03-15
|
* Add a yank diagnostic command (#9640)Kirawi2024-03-15
| | | | | | | | | * yank diagnostic command * improve success message * move to a typed command * docgen
* Use non-deprecated chrono Duration functionsMichael Davis2024-03-14
|
* build(deps): bump chrono from 0.4.34 to 0.4.35dependabot[bot]2024-03-14
| | | | | | | | | | | | | | | Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.34 to 0.4.35. - [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.34...v0.4.35) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump log from 0.4.20 to 0.4.21 (#9856)dependabot[bot]2024-03-14
| | | | | | | | | | | | | | | | Bumps [log](https://github.com/rust-lang/log) from 0.4.20 to 0.4.21. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.20...0.4.21) --- updated-dependencies: - dependency-name: log 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>
* fix(themes-catppuccin): make inlay hints more legible (#9859)fnuttens2024-03-13
|
* build(deps): bump libloading from 0.8.2 to 0.8.3 (#9857)dependabot[bot]2024-03-12
| | | | | | | | | | | | | | Bumps [libloading](https://github.com/nagisa/rust_libloading) from 0.8.2 to 0.8.3. - [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.2...0.8.3) --- updated-dependencies: - dependency-name: libloading 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 cc from 1.0.88 to 1.0.90 (#9855)dependabot[bot]2024-03-12
| | | | | | | | | | | | | | | Bumps [cc](https://github.com/rust-lang/cc-rs) from 1.0.88 to 1.0.90. - [Release notes](https://github.com/rust-lang/cc-rs/releases) - [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.88...1.0.90) --- updated-dependencies: - dependency-name: cc 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 open from 5.0.1 to 5.1.2 (#9854)dependabot[bot]2024-03-12
| | | | | | | | | | | | | | | | Bumps [open](https://github.com/Byron/open-rs) from 5.0.1 to 5.1.2. - [Release notes](https://github.com/Byron/open-rs/releases) - [Changelog](https://github.com/Byron/open-rs/blob/main/changelog.md) - [Commits](https://github.com/Byron/open-rs/compare/v5.0.1...v5.1.2) --- updated-dependencies: - dependency-name: open 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>
* build(deps): bump cachix/install-nix-action from 25 to 26 (#9851)dependabot[bot]2024-03-12
| | | | | | | | | | | | | | | Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* treesitter: Add textobjects for native funcs and constructors (#9806)Kalpaj Chaudhari2024-03-10
| | | | | | This allows native functions and constructors to be accessible as part of goto_{next,prev}_func. Change-Id: Ia1234004e8b38e1c5871331a38fcf4f267da935e
* Use Nu language for NUON files (#9839)Aidan Gauland2024-03-10
|
* helix-term: allow to backspace out-of the command prompt (#9828)Markus F.X.J. Oberhumer2024-03-09
|
* add linker script language (#9835)Matthew Toohey2024-03-09
|
* fix: close #9771 fix comments with `(` and `)` (#9800)Alexander Brevig2024-03-08
| | | | | | | | | * fix: close #9771 update OCaml * fix: no longer match on ( ) as the underlying grammar handles these * fix: implement excellent corrections from review * fix: module -> namespace to match theme scopes
* Add PowerShell highlighting (#9827)Chris2024-03-07
|
* Fix panic in select_textobject_around (#9832)Mike Trinkala2024-03-07
| | | | | | | | | | | | | | | | | | | | | | | | Test Document ------------- ``` a)b ``` Steps to Reproduce ------------------ 1. % # select_all 1. ms( # surround_add 1. mam # select_textobject_around Debug and Release ----------------- `thread 'main' panicked at 'Attempt to index past end of RopeSlice: char index 7, RopeSlice char length 6', ropey-1.6.1/src/slice.rs:796:13` Description ----------- An index was selected beyond the end of the slice with chars_at. The fix adds a guard check to `find_nth_open_pair`, like in the other find_nth* functions.
* Fix panic in surround_replace/delete nested multi-cursor (#9815)Mike Trinkala2024-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test Document ------------- ``` {{ } } ``` Steps To Reproduce ------------------ 1. 2j # move_visual_line_down 1. C # copy_selection_on_next_line 1. mdm # surround_delete Debug ----- `assertion failed: last <= from', transaction.rs:597:13` Release ------- `called `Result::unwrap()` on an `Err` value: Char range out of bounds: char range 18446744073709551614..18446744073709551615, Rope/RopeSlice char length 7', ropey-1.6.1/src/rope.rs:546:37` Description ----------- Processing the surrounding pairs in order violates the assertion the ranges are ordered. To handle nested surrounds all positions have to be sorted. Also surround_replace has to track the proper replacement character for each position.
* build(deps): bump mio from 0.8.9 to 0.8.11 (#9808)dependabot[bot]2024-03-06
|
* build(deps): bump clipboard-win from 5.1.0 to 5.2.0 (#9811)dependabot[bot]2024-03-06
|
* build(deps): bump ahash from 0.8.9 to 0.8.11 (#9813)dependabot[bot]2024-03-06
|
* build(deps): bump libloading from 0.8.1 to 0.8.2 (#9810)dependabot[bot]2024-03-06
|
* build(deps): bump arc-swap from 1.6.0 to 1.7.0 (#9809)dependabot[bot]2024-03-06
|
* flake.lock: Bump flake inputs to prevent a warning message (#9816)varris12024-03-05
|
* feat(languages): add support for `*.Dockerfile` `file-types` naming ↵RoloEdits2024-03-03
| | | | | | | convention (#9772) Current `file-types` only supports up to a `Dockerfile.frontend` naming scheme. With these changes `frontend.Dockerfile` now gives proper highlights and lsp actions.
* Fix panic when using surround_replace/delete (#9796)Mike Trinkala2024-03-03
| | | | | | | | | | | | | | | | | | | | | | 1. Create a document containing `{A}` 1. C-w v # vsplit 1. gl # goto_line_end 1. b # move_prev_word_start 1. ` # switch_to_lowercase 1. mrm( # surround replace 1. C-w v # vsplit In the debug build surround_replace/delete will immedately assert with `assertion failed: last <= from', transaction.rs:597:13`. The splits and lowercase conversion are not needed to trigger the bug. In the release build the surround becomes `)a(` and the last vsplit causes the transaction to panic. `internal error: entered unreachable code: (Some(Retain(18446744073709551573)))', transaction.rs:185:46` Since the selection direction is backwards get_surround_pos returns the pairs reversed but the downstream code assumes they are in the forward direction.
* Fix panic when using join_selections_space (#9783)Mike Trinkala2024-03-02
| | | | | | | | | | | | | | | | | | | | | | | | Joining lines with Alt-J does not properly select the inserted spaces when the selection contains blank lines. In the worst case it panics with an out of bounds index. thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Char index out of bounds: char index 11, Rope/RopeSlice char length 10' Steps to reproduce: * Create a new document ``` a b c d e ``` * % (Select all) * Alt-J (join and select the spaces)
* Fix precedence of svelte typescript injection (#9777)Michael Davis2024-03-02
|
* languages.toml: add elvish shebang (#9779)Malpha2024-03-02
|
* Support LSP diagnostic tags (#9780)Michael Davis2024-03-02
|
* Fix bug 9703 by commenting out the wrong command (#9778)Marcin Drzymala2024-03-02
| | | | | | | * Fix bug 9703 by commenting out the wrong command This fixes issue https://github.com/helix-editor/helix/issues/9703 by removing the wrong formatting command for justfiles. * Fix indentation width for justfile
* feat: Add markdown-oxide language server (#9758)Felix Zeller2024-03-01
|
* Document embracing smart-tab navigation. (#9762)Dawid Ciężarkiewicz2024-03-01
| | | Re #4443
* Mark GTK builder ui files as XML (#9754)Keir Lawson2024-02-29
|
* Switch Nim tree-sitter queries to alaviss/tree-sitter-nim (#9722)JJ2024-02-29
|
* fix split_on_newline (#9756)Pascal Kuthe2024-02-29
|
* update languages.toml: tree-sitter-lua grammar (#9727)Brian Dorsey2024-02-28
| | | | | | | | | | | | | | | | | | * update languages.toml: tree-sitter-lua grammar repo has moved, use new URL and the rev of the latest release (v0.0.19) * update highlight queries a novice attempt to port query updates from the source repo to Helix captures and ordering * Apply suggestions from code review Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add support for pde files (#9741)Chris2024-02-28
|
* Avoid cloning the whole paragraph content just for rendering (#9739)Mo2024-02-27
| | | | | * Avoid cloning the whole paragraph content just for rendering * Fix tests
* toggling of block comments (#4718)Gabriel Dinner-David2024-02-27
|