Gábor Szabó
d0275a554a
remove the multilingual field from book.toml ( #13328 )
2025-04-11 09:23:39 -05:00
RoloEdits
4a7939928e
chore(jjdescription): bump rev to latest ( #13329 )
2025-04-11 09:06:20 -05:00
Niklas Gruhn
8b952bb1d5
docs: another injection query example ( #13312 )
2025-04-09 07:30:11 -05:00
RoloEdits
d24e4fcf0f
feat(config): add `[workspace-]diagnostics` fields to statusline ( #13288 )
2025-04-08 13:58:14 -05:00
RoloEdits
34aa4d41c6
ci: add arm64 runner ( #13273 )
2025-04-08 11:54:12 -05:00
PL Pery
032c7b897d
flake: fix Helix.desktop and helix.png output paths ( #13305 )
2025-04-08 10:18:17 -05:00
dependabot[bot]
5d16aae58e
build(deps): bump the rust-dependencies group across 1 directory with 5 updates ( #13301 )
...
Bumps the rust-dependencies group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [smallvec](https://github.com/servo/rust-smallvec ) | `1.14.0` | `1.15.0` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.44.1` | `1.44.2` |
| [rustix](https://github.com/bytecodealliance/rustix ) | `1.0.3` | `1.0.5` |
| [indexmap](https://github.com/indexmap-rs/indexmap ) | `2.8.0` | `2.9.0` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.2.17` | `1.2.18` |
Updates `smallvec` from 1.14.0 to 1.15.0
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.14.0...v1.15.0 )
Updates `tokio` from 1.44.1 to 1.44.2
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2 )
Updates `rustix` from 1.0.3 to 1.0.5
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGES.md )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v1.0.3...v1.0.5 )
Updates `indexmap` from 2.8.0 to 2.9.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.8.0...2.9.0 )
Updates `cc` from 1.2.17 to 1.2.18
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.17...cc-v1.2.18 )
---
updated-dependencies:
- dependency-name: smallvec
dependency-version: 1.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: tokio
dependency-version: 1.44.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustix
dependency-version: 1.0.5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: indexmap
dependency-version: 2.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
- dependency-name: cc
dependency-version: 1.2.18
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>
2025-04-07 21:33:46 -05:00
Julien THILLARD
a799794623
Change highlights order ( #13293 )
2025-04-08 09:16:31 +09:00
Multirious
0609b06638
Book: Mentions zsh-helix-mode in other-softwares ( #13294 )
2025-04-08 09:15:54 +09:00
James Rogers
4130b162a7
Update docs link to Commands.md in Remapping.md ( #13284 )
2025-04-07 11:08:09 -05:00
Jason Fuchs
46f7cdb5a9
feat: add ! alias for sh and | for pipe ( #13263 )
2025-04-08 01:00:45 +09:00
Mykyta
9cfb8afa99
Added: missing highlighting to `queries/_typescript` ( #13250 )
...
* Added: missing highlighting
* moved: delete, typeof, instanceof, void - from keywords to keyword.operator
2025-04-07 10:00:03 -05:00
Dimitri Sabadie
29789f2a9f
Add support for extend_file_{start,end} ( #11767 )
2025-04-06 13:18:47 -05:00
Austin L Wolfgram
efdcf34b79
Fix out of date comments on merge_toml_values ( #13253 )
...
merge_toplevel_arrays is no longer a parameter for this method, and the
example fits better in a doc comment.
2025-04-06 13:00:18 -05:00
Weihnachtsbaum
e9a3dcd858
Add WESL language ( #13267 )
...
Co-authored-by: uncenter <uncenter@uncenter.dev>
2025-04-06 12:23:34 -05:00
Mykyta
effe849cf4
Update themes.md ( #13247 )
...
added small description to `label` and `special` - because for me it was not clear what it was for, maybe I am not the one
2025-04-06 12:22:06 -05:00
Jorge Gomez
130f725026
Update mint lsp command args ( #13248 )
2025-04-06 12:21:33 -05:00
Nik Revenco
42de785779
feat: sync catppuccin theme changes ( #13262 )
...
Co-authored-by: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-04-06 12:06:21 -05:00
Wesley Hershberger
6c42ed1bd5
Debian control file syntax highlighting ( #13245 )
...
File format described at
https://www.debian.org/doc/debian-policy/ch-controlfields.html
Co-authored-by: Wesley Hershberger <wesley.hershberger@gmail.com>
2025-04-06 12:05:43 -05:00
Rolo
5b72b59448
perf: use `next_back` on `DoubleEndedIterator`
2025-04-06 12:03:14 -05:00
Rolo
1bc45c8b3a
refactor: change empty check to `is_empty` instead of `len > 0`
2025-04-06 12:03:14 -05:00
Rolo
f857a98671
refactor: uneeded string conversion for Display type
2025-04-06 12:03:14 -05:00
dependabot[bot]
5a671e65fd
build(deps): bump gix from 0.70.0 to 0.71.0 ( #13269 )
...
* build(deps): bump gix from 0.70.0 to 0.71.0
Bumps [gix](https://github.com/GitoxideLabs/gitoxide ) from 0.70.0 to 0.71.0.
- [Release notes](https://github.com/GitoxideLabs/gitoxide/releases )
- [Changelog](https://github.com/GitoxideLabs/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/GitoxideLabs/gitoxide/compare/gix-v0.70.0...gix-v0.71.0 )
---
updated-dependencies:
- dependency-name: gix
dependency-version: 0.71.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* minor: Migrate from Repository::work_dir to Repository::workdir
The former was deprecated in favor of the latter
---------
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>
2025-04-06 12:02:20 -05:00
Mykyta
994b750dd4
fixed: typo in capture group, removed duplicate query ( #13251 )
2025-04-06 11:49:21 -05:00
Max
1fc19c6d8e
Add Prolog tree-sitter grammar ( #11611 )
2025-04-06 11:43:53 -05:00
Daniel Fichtinger
d0c5a2044d
feat: added lsp for just ( #13276 )
2025-04-06 11:41:53 -05:00
Tshepang Mbambo
2bb0d52f3e
book: avoid uncomfortable flow disruption ( #13271 )
2025-04-06 11:41:10 -05:00
dependabot[bot]
7ebf650029
build(deps): bump once_cell in the rust-dependencies group ( #13244 )
...
Bumps the rust-dependencies group with 1 update: [once_cell](https://github.com/matklad/once_cell ).
Updates `once_cell` from 1.21.1 to 1.21.3
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.1...v1.21.3 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-version: 1.21.3
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>
2025-04-01 13:55:16 +09:00
Sri Senthil Balaji J
db187c4870
feat: add ConsoleOnly to desktop entry categories ( #13236 )
2025-03-31 09:28:50 -05:00
Michael Davis
e148d8b311
editor: Remove closed Document after updating Views
...
When closing a document we must wait until all views have been updated
first - either replacing their current document or closing the view -
before we remove the document from the `documents` map. The
`Editor::_refresh` helper is called by `Editor::close`. It accesses each
View's Document to sync changes and ensure that the cursor is in view.
When closing multiple Views at once, `Editor::_refresh` will attempt
to access the closing Document while refreshing a to-be-closed View.
2025-03-30 11:01:17 -04:00
Andrea Novellini
fb815e2c6f
Add peachpuff theme ( #13225 )
2025-03-29 14:44:55 -05:00
Gavin Morrow
e735485277
Remove bg from tokyonight text ( #13216 )
2025-03-29 14:43:33 -05:00
Keir Lawson
bb96a535fc
Add ui.text.directory to spacebones ( #13213 )
2025-03-29 14:41:43 -05:00
RoloEdits
01fce51c45
fix(keymap): point to proper `MappableCommand` instead of `Command` ( #13214 )
2025-03-28 08:51:36 -05:00
Keir Lawson
7929c0719d
Track progress title an display in place of internal token ( #13180 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-03-27 12:00:23 -05:00
Alexandre Legent
68d7308e25
Update golangci-lint command for v2 ( #13204 )
2025-03-27 11:27:25 -05:00
Daniel Fichtinger
a2c580c4ae
feat: add tmTheme as XML filetype ( #13202 )
2025-03-27 08:39:10 -05:00
Steven Vancoillie
cf7eb5517f
Add earl_grey theme ( #13203 )
2025-03-27 08:37:32 -05:00
Michael Davis
388a3b78e3
Avoid removing modified documents in Editor::close_document
...
This fixes a regression from 6da1a79d80
. `:buffer-close` on an
unmodified document would cause later panics since the document should
not have been removed. Instead of eagerly removing the document on the
first line we need to wait until we've checked that it's unmodified.
2025-03-25 09:03:32 -04:00
Michael Davis
d43de14807
LSP: Avoid requesting document colors for ghost transactions
...
The point of ghost transactions is to avoid notifying language servers
about changes since the change is meant to be temporary. This is used
for completion while selecting items in the menu: updating the language
server would mess up incomplete completions.
When a document is changed by a ghost transaction the language server
will not be notified so its understanding of the document will not be
synchronized and any positions it sends may be out-of-date. So we should
avoid triggering a request for new document color information when a
document is changed by a ghost transaction.
2025-03-25 08:52:47 -04:00
dependabot[bot]
04d1180a0c
build(deps): bump the rust-dependencies group with 4 updates ( #13190 )
...
Bumps the rust-dependencies group with 4 updates: [tempfile](https://github.com/Stebalien/tempfile ), [log](https://github.com/rust-lang/log ), [rustix](https://github.com/bytecodealliance/rustix ) and [cc](https://github.com/rust-lang/cc-rs ).
Updates `tempfile` from 3.19.0 to 3.19.1
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.0...v3.19.1 )
Updates `log` from 0.4.26 to 0.4.27
- [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.26...0.4.27 )
Updates `rustix` from 1.0.2 to 1.0.3
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGES.md )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v1.0.2...v1.0.3 )
Updates `cc` from 1.2.16 to 1.2.17
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.16...cc-v1.2.17 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustix
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
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>
2025-03-25 07:40:40 -05:00
Nick
5adb4b7413
Allow `:theme` to show current theme ( #13192 )
...
Updates the signature for the command to take 0 arguments. This probably
regressed during 0efa8207d8
.
2025-03-25 18:43:26 +09:00
Sebastian Dörner
13b2dc31f5
Book: Add a section with links to "Helix mode" in non-Helix software. ( #12258 )
2025-03-24 08:21:37 -05:00
Nik Revenco
0ee5850016
Color swatches ( 🟩 green 🟥 #ffaaaa ) ( #12308 )
2025-03-23 16:07:02 -05:00
Asta Halkjær From
8ff544757f
Make `goto_word` highlights visible (same fix as #12904 ) ( #13174 )
2025-03-23 10:27:58 -05:00
Branch Vincent
f07c1c1b29
add `ui.text.directory` to onedark ( #13166 )
2025-03-23 09:33:23 -05:00
RoloEdits
8ad6e53b1f
build(grammar): remove `-fPIC` flag from windows build ( #13169 )
...
Even though there is a check for `is_like_msvc`, when setting `CXX` to
`clang++` this will miss that check and try to use `-fPIC`, which is an
invlaid flag for the target.
2025-03-23 09:32:56 -05:00
Ahmir Postell
6bedca8064
Add focus_nova theme ( #13144 )
2025-03-22 16:24:16 -05:00
Michael Davis
7e7a98560e
LSP: Eagerly decode request results in the client
...
Previously the `call` helper (and its related functions) returned a
`serde_json::Value` which was then decoded either later in the client
(see signature help and hover) or by the client's caller. This led to
some unnecessary boilerplate in the client:
let resp = self.call::<MyRequest>(params);
Some(async move { Ok(serde_json::from_value(resp.await?)?) })
and in the caller. It also allowed for mistakes with the types. The
workspace symbol request's calling code for example mistakenly decoded a
`lsp::WorkspaceSymbolResponse` as `Vec<lsp::SymbolInformation>` - one of
the untagged enum members (so it parsed successfully) but not the
correct type.
With this change, the `call` helper eagerly decodes the response to a
request as the `lsp::request::Request::Result` trait item. This is
similar to the old helper `request` (which has become redundant and has
been eliminated) but all work is done within the same async block which
avoids some awkward lifetimes. The return types of functions like
`Client::text_document_range_inlay_hints` are now more verbose but it is
no longer possible to accidentally decode as an incorrect type.
Additionally `Client::resolve_code_action` now uses the `call_with_ref`
helper to avoid an unnecessary clone.
2025-03-22 14:40:29 -04:00
Michael Davis
6da1a79d80
Add document and LSP lifecycle events, move some callbacks into hooks
...
This adds events for:
* a document being opened
* a document being closed
* a language server sending the initialized notification
* a language server exiting
and also moves some handling done for these scenarios into hooks,
generally moving more into helix-view. A hook is also added on
`DocumentDidChange` which sends the `text_document_did_change`
notification - this resolves a TODO in `document`.
2025-03-22 11:41:50 -04:00