dependabot[bot]
3d4889ce9a
build(deps): bump the rust-dependencies group with 3 updates ( #9929 )
...
Bumps the rust-dependencies group with 3 updates: [bitflags](https://github.com/bitflags/bitflags ), [toml](https://github.com/toml-rs/toml ) and [lsp-types](https://github.com/gluon-lang/lsp-types ).
Updates `bitflags` from 2.4.2 to 2.5.0
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.4.2...2.5.0 )
Updates `toml` from 0.8.10 to 0.8.12
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.10...toml-v0.8.12 )
Updates `lsp-types` from 0.95.0 to 0.95.1
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gluon-lang/lsp-types/compare/v0.95.0...v0.95.1 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: lsp-types
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 15:47:05 +09:00
mo8it
0f5430ab9e
Optimize get_truncated_path
2024-03-19 14:39:46 +09:00
mo8it
e91ec8e880
Optimize getting a relative path
2024-03-19 14:39:46 +09:00
mo8it
6ed93b6e49
Optimize fold_home_dir
2024-03-19 14:39:46 +09:00
mo8it
6607938bf8
Call as_ref only once
2024-03-19 14:39:46 +09:00
Blaž Hrastnik
13533cb99c
ci: Group minor rust dependency dependabot updates
...
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
2024-03-19 14:28:15 +09:00
dependabot[bot]
df8352ec05
build(deps): bump tokio-stream from 0.1.14 to 0.1.15 ( #9926 )
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.14 to 0.1.15.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.14...tokio-stream-0.1.15 )
---
updated-dependencies:
- dependency-name: tokio-stream
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-19 14:14:09 +09:00
dependabot[bot]
ef797acf0d
build(deps): bump anyhow from 1.0.80 to 1.0.81 ( #9925 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.80...1.0.81 )
---
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>
2024-03-19 14:13:35 +09:00
dependabot[bot]
7ef583bea7
build(deps): bump gix from 0.58.0 to 0.61.0 ( #9924 )
...
Bumps [gix](https://github.com/Byron/gitoxide ) from 0.58.0 to 0.61.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.58.0...gix-v0.61.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>
2024-03-19 14:13:28 +09:00
dependabot[bot]
326c078356
build(deps): bump thiserror from 1.0.57 to 1.0.58 ( #9923 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58 )
---
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>
2024-03-19 14:08:43 +09:00
dependabot[bot]
8dc50bded9
build(deps): bump clipboard-win from 5.2.0 to 5.3.0 ( #9922 )
...
Bumps [clipboard-win](https://github.com/DoumanAsh/clipboard-win ) from 5.2.0 to 5.3.0.
- [Commits](https://github.com/DoumanAsh/clipboard-win/commits )
---
updated-dependencies:
- dependency-name: clipboard-win
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-19 14:08:36 +09:00
Jaakko Paju
58022586a0
Add yaml LSP for docker compose ( #9916 )
...
* Add yaml LSP for docker compose
* Change docs
2024-03-18 20:39:32 +01:00
Matthew Toohey
2e4653ea31
add koka language support ( #8727 )
...
Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
2024-03-18 13:14:10 +01:00
Phil
94d210c9bf
Add initial support for SuperCollider ( #9329 )
2024-03-18 13:13:23 +01:00
Michael Davis
4ffe993533
Fix malformed predicates in highlighting queries
2024-03-18 10:34:53 +09:00
Michael Davis
38af99f05f
Bump tree-sitter to 0.22.2
2024-03-18 10:34:53 +09:00
Joey Hain
476e6baf8f
Add textobject queries for vala ( #8541 )
2024-03-18 00:11:28 +01:00
Leonardo Eugênio
d99b6177c2
Add blade support ( #9513 )
...
* Add php-only language config and queries
php-only is required enabling php injections like in blade templates
* Add blade templates support
2024-03-18 00:07:09 +01:00
Carsten Führmann
eead105f94
Fix selected text background in toykonight ( #9789 )
...
Before the fix, the color that the original (Neovim) tokyonight uses for
Neovim's visual mode was used in Helix for highlighting the selected
item in the picker. But for the highlighting of selected _text_ in
Helix (corresponding to Neovim's visual mode), a much darker background
was used. This made it very hard to pick out selected text, in
particular in suboptimal lighting conditions.
I swapped the two colors, so that text selection now looks like in
Neovim, while selected items in the picker are highlighted a bit less
strongly. (But still easy to see because the whole line is highlighted.)
2024-03-18 00:06:23 +01:00
Erasin Wang
64389f97fe
Updated grammar for hurl 4 ( #9775 )
2024-03-18 00:01:25 +01:00
Benedikt Ritter
f7913c1a3b
Extend groovy support ( #9677 )
...
* Extend groovy support
Use more complete parser introduced in nvm-treesitter in
d4dac523d2
* 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>
2024-03-18 00:01:11 +01:00
Alexis Mousset
8457652da1
Update to modus-themes 4.4.0 ( #9912 )
2024-03-17 23:56:33 +01:00
Jonas De Vuyst
0301d01e78
Fix URL in doc chapter about Textobject queries ( #5773 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-03-17 23:56:17 +01:00
Dan Cardamore
3890376a23
add 'file-absolute-path' to statusline ( #4535 )
...
* feat: add 'file-abs-path' to statusline (#4434 )
* cleanup implementation
* rename to be non-abbreviated names
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-03-17 23:55:49 +01:00
George "Riye" Hollister
e36774c2c8
Add Support for JSONC ( #9906 )
...
* 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
2024-03-17 23:54:05 +01:00
Arthur Deierlein
9ec0271873
Add support for hyprland config ( #9899 )
...
* feat: add hyprland config language
* adjust indents to helix
* adjust highlights to helix
2024-03-17 23:53:30 +01:00
Arthur Deierlein
61f7d9ce2f
fix typo "braket" in jsx highlights ( #9910 )
2024-03-17 17:36:54 -05:00
Emi
761df60077
Keybind for Extend/shrink selection up and down ( #9080 )
...
* 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>
2024-03-17 23:06:24 +01:00
Nick
6fea7876a4
Fix comment key bind behaviour in OCaml ( #9894 )
2024-03-16 08:50:47 -04:00
Michael Davis
9282f1b8e5
Handle starting and continuing the count separately ( #9887 )
2024-03-16 08:52:57 +09:00
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