Mike Trinkala
b961acf746
Update regex-cursor ( #9891 )
2024-03-15 14:44:08 -05:00
Kirawi
0c51ab16d0
Add a yank diagnostic command ( #9640 )
...
* yank diagnostic command
* improve success message
* move to a typed command
* docgen
2024-03-15 17:38:22 +01:00
Michael Davis
6c4d986c1b
Use non-deprecated chrono Duration functions
2024-03-14 14:13:56 +09:00
dependabot[bot]
b44b627b14
build(deps): bump chrono from 0.4.34 to 0.4.35
...
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>
2024-03-14 14:13:56 +09:00
dependabot[bot]
e01a558294
build(deps): bump log from 0.4.20 to 0.4.21 ( #9856 )
...
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>
2024-03-14 14:13:36 +09:00
fnuttens
3915b04bd9
fix(themes-catppuccin): make inlay hints more legible ( #9859 )
2024-03-13 13:47:55 +09:00
dependabot[bot]
2d15acdf60
build(deps): bump libloading from 0.8.2 to 0.8.3 ( #9857 )
...
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>
2024-03-12 14:45:44 +09:00
dependabot[bot]
ab61874efb
build(deps): bump cc from 1.0.88 to 1.0.90 ( #9855 )
...
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>
2024-03-12 14:41:48 +09:00
dependabot[bot]
2e2a1d6f61
build(deps): bump open from 5.0.1 to 5.1.2 ( #9854 )
...
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>
2024-03-12 14:41:40 +09:00
dependabot[bot]
2d589e74f0
build(deps): bump cachix/install-nix-action from 25 to 26 ( #9851 )
...
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>
2024-03-12 14:38:19 +09:00
Kalpaj Chaudhari
c145999bff
treesitter: Add textobjects for native funcs and constructors ( #9806 )
...
This allows native functions and constructors to be accessible as part
of goto_{next,prev}_func.
Change-Id: Ia1234004e8b38e1c5871331a38fcf4f267da935e
2024-03-10 12:23:33 +09:00
Aidan Gauland
3bd493299f
Use Nu language for NUON files ( #9839 )
2024-03-10 12:22:04 +09:00
Markus F.X.J. Oberhumer
0dc67ff885
helix-term: allow to backspace out-of the command prompt ( #9828 )
2024-03-09 17:02:43 +09:00
Matthew Toohey
e3c6c82828
add linker script language ( #9835 )
2024-03-09 16:59:56 +09:00
Alexander Brevig
fd89c3c833
fix: close #9771 fix comments with (
and )
( #9800 )
...
* 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
2024-03-08 10:54:17 +09:00
Chris
301dfb07cc
Add PowerShell highlighting ( #9827 )
2024-03-07 23:39:00 +01:00
Mike Trinkala
e27b04735c
Fix panic in select_textobject_around ( #9832 )
...
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.
2024-03-07 13:37:01 -06:00
Mike Trinkala
cb01e52cd8
Fix panic in surround_replace/delete nested multi-cursor ( #9815 )
...
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.
2024-03-08 02:20:07 +09:00
dependabot[bot]
b93fae9c8b
build(deps): bump mio from 0.8.9 to 0.8.11 ( #9808 )
2024-03-06 11:10:59 +09:00
dependabot[bot]
4e5f19df53
build(deps): bump clipboard-win from 5.1.0 to 5.2.0 ( #9811 )
2024-03-06 11:10:24 +09:00
dependabot[bot]
7a473c7494
build(deps): bump ahash from 0.8.9 to 0.8.11 ( #9813 )
2024-03-06 11:09:13 +09:00
dependabot[bot]
ea0b244644
build(deps): bump libloading from 0.8.1 to 0.8.2 ( #9810 )
2024-03-06 11:08:40 +09:00
dependabot[bot]
7d8c86e403
build(deps): bump arc-swap from 1.6.0 to 1.7.0 ( #9809 )
2024-03-06 11:08:07 +09:00
varris1
3f98891e79
flake.lock: Bump flake inputs to prevent a warning message ( #9816 )
2024-03-06 00:00:34 +09:00
RoloEdits
cc43e3521e
feat(languages): add support for *.Dockerfile
file-types
naming 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.
2024-03-03 18:56:18 +01:00
Mike Trinkala
9267343830
Fix panic when using surround_replace/delete ( #9796 )
...
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.
2024-03-03 18:55:09 +01:00
Mike Trinkala
5bd007266a
Fix panic when using join_selections_space ( #9783 )
...
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)
2024-03-02 15:05:58 +01:00
Michael Davis
d769fadde0
Fix precedence of svelte typescript injection ( #9777 )
2024-03-02 16:47:24 +09:00
Malpha
f04dafa2e2
languages.toml: add elvish shebang ( #9779 )
2024-03-02 16:47:10 +09:00
Michael Davis
5ca6a448e9
Support LSP diagnostic tags ( #9780 )
2024-03-02 13:37:11 +09:00
Marcin Drzymala
1d6db30acf
Fix bug 9703 by commenting out the wrong command ( #9778 )
...
* 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
2024-03-02 11:05:17 +09:00
Felix Zeller
062fb819a2
feat: Add markdown-oxide language server ( #9758 )
2024-03-01 09:10:49 -06:00
Dawid Ciężarkiewicz
44db25939c
Document embracing smart-tab navigation. ( #9762 )
...
Re #4443
2024-03-01 02:57:31 +01:00
Keir Lawson
d0bb774471
Mark GTK builder ui files as XML ( #9754 )
2024-02-29 19:09:29 +09:00
JJ
e51a1e4e2a
Switch Nim tree-sitter queries to alaviss/tree-sitter-nim ( #9722 )
2024-02-29 10:49:10 +09:00
Pascal Kuthe
1143f47954
fix split_on_newline ( #9756 )
2024-02-29 10:47:41 +09:00
Brian Dorsey
f03b91d1b7
update languages.toml: tree-sitter-lua grammar ( #9727 )
...
* 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>
2024-02-28 20:55:17 +01:00
Chris
083a9e775d
Add support for pde files ( #9741 )
2024-02-28 13:18:00 +01:00
Mo
00653c772e
Avoid cloning the whole paragraph content just for rendering ( #9739 )
...
* Avoid cloning the whole paragraph content just for rendering
* Fix tests
2024-02-27 18:24:05 +01:00
Gabriel Dinner-David
26b3dc29be
toggling of block comments ( #4718 )
2024-02-27 22:36:25 +09:00
dependabot[bot]
f46a09ab4f
build(deps): bump cc from 1.0.85 to 1.0.88 ( #9734 )
...
Bumps [cc](https://github.com/rust-lang/cc-rs ) from 1.0.85 to 1.0.88.
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.85...1.0.88 )
---
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>
2024-02-27 02:06:37 +01:00
巢鹏
358ac6bc1f
add fidl support ( #9713 )
2024-02-27 01:41:50 +01:00
dependabot[bot]
1a82aeeae9
build(deps): bump serde from 1.0.196 to 1.0.197 ( #9736 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.196 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197 )
---
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>
2024-02-27 01:26:24 +01:00
dependabot[bot]
ea95c68775
build(deps): bump serde_json from 1.0.113 to 1.0.114 ( #9735 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.113 to 1.0.114.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.113...v1.0.114 )
---
updated-dependencies:
- dependency-name: serde_json
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>
2024-02-27 01:25:52 +01:00
dependabot[bot]
d0f8261141
build(deps): bump tempfile from 3.10.0 to 3.10.1 ( #9733 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.10.0 to 3.10.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.0...v3.10.1 )
---
updated-dependencies:
- dependency-name: tempfile
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>
2024-02-27 01:25:17 +01:00
dependabot[bot]
b43d9aa306
build(deps): bump ahash from 0.8.6 to 0.8.9 ( #9737 )
...
Bumps [ahash](https://github.com/tkaitchuck/ahash ) from 0.8.6 to 0.8.9.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/commits/v0.8.9 )
---
updated-dependencies:
- dependency-name: ahash
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>
2024-02-27 01:22:00 +01:00
Pascal Kuthe
cd02976fa3
switch to regex-cursor ( #9422 )
2024-02-26 16:45:20 +09:00
Tobias Hunger
c68ec92c5e
slint: Update SHA of tree-sitter parser ( #9698 )
2024-02-26 16:08:31 +09:00
Carsten Führmann
a876148585
Fix colors of tokyonight diagnostic undercurls ( #9724 )
2024-02-26 10:53:59 +09:00
Michael Davis
928bf80d9a
LSP: Normalize diagnostic file paths
2024-02-26 00:12:43 +09:00