Binh Tran
8d58f6ce8d
fix(highlights/ungrammar): improve UX ( #13607 )
2025-05-25 08:47:10 -05:00
Matt Paras
fda1bbf742
add macros for language configuration and lsp configuration
2025-05-24 21:48:36 -07:00
Michael Davis
702a961517
Fix `try_restore_indent` on non-LF documents
...
On Windows for example the behavior of this function typically diverges
from the usual behavior on Unix. Instead of checking that the inserted
string starts with `'\n'` (untrue for for CRLF line endings) we need to
check that the first grapheme cluster in the string is a line ending.
(All line endings are single grapheme clusters.)
2025-05-24 11:42:29 -04:00
Nik Revenco
1023e8f964
feat: highlight rust string interpolation macros that use `format_args!` ( #13533 )
...
Co-authored-by: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-05-24 10:02:32 -05:00
Saheed Adeleye
223ceec10a
Add an `--insensitive`/`-i` flag for `:sort` ( #13560 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-05-24 09:55:48 -05:00
Christian Fredrik Johnsen
cb1ec1b27e
fix(tutor): replace unexisting and non existing with nonexistent
...
Sounds more natural to me.
Just a spelling change.
2025-05-24 10:29:46 -04:00
Christian Fredrik Johnsen
4098151591
fix(tutor): fix typos in section 11.2
...
Minor grammar fix and add missing word.
2025-05-24 10:29:46 -04:00
Christian Fredrik Johnsen
1edf98262c
fix(tutor): recommend `e` instead of `w` for selecting word
...
I was doing the tutorial to learn Helix, and it's more sensible to use
`e` than `w`.
If you're using `w`, you will need to add an extra space.
Example, assuming cursor is at |:
This sentence has incorrect words |behind it.
If you use `wc`, then you will get:
This sentence has incorrect words |it.
while `ec` will give you
This sentence has incorrect words | it.
Which enables you to drop removing and adding a space for no reason.
2025-05-24 10:29:46 -04:00
Ricardo Fernández Serrata
237d875e7d
docs(building-from-source): suggest optimized install cmd as alternative ( #13553 )
2025-05-24 09:24:09 -05:00
Kris Warner
b70b8df916
Add matching cursor to nord theme ( #13574 )
2025-05-24 09:22:23 -05:00
Matt Paras
3e5710521a
bundle ext library, upgrade steel, fix block on task
2025-05-23 14:35:23 -07:00
Matt Paras
aefdab6307
fix arity on acquire-context-lock
2025-05-23 06:42:14 -07:00
Binh Tran
ae0dd313bd
fix(highlights/ini): make consistency with toml ( #13589 )
2025-05-22 08:52:51 -05:00
Matthew Paras
04697d61f9
Merge pull request #26 from tobiaskohlbau/writeRegisters
2025-05-22 06:24:03 -07:00
Matthew Paras
9d88ce3a74
Merge pull request #28 from tobiaskohlbau/addressNixWarning
2025-05-21 22:34:32 -07:00
Matt Paras
aada3b5e42
add ability to ignore the command and close the component
2025-05-21 16:07:42 -07:00
Tobias Kohlbau
6ec04107ca
apply suggested naming
...
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
2025-05-21 17:29:13 +02:00
Jérôme Tamba
76029e5840
health: Use lsp name in output wherever possible ( #13573 )
...
Also match the DAP/Formatter output style to the LSP style
2025-05-21 09:38:16 -05:00
Matt Paras
67c5a2a99b
add function to check for key event
2025-05-20 22:00:47 -07:00
Matt Paras
9f0501d060
when encountering an error in a dynamic component, pop off the stack with the error message
2025-05-20 20:58:24 -07:00
Matt Paras
39614b29b1
typo in theme-scope
2025-05-20 16:09:12 -07:00
Matt Paras
85bd47cd81
fix arity for ctx functions in components
2025-05-20 15:59:20 -07:00
Matt Paras
6de42353fd
have docs properly generate on code-gen
2025-05-20 13:58:14 -07:00
Matthew Paras
9504a50755
Merge pull request #27 from tobiaskohlbau/fixTypo
2025-05-20 06:55:26 -07:00
dependabot[bot]
3a6c9747b8
build(deps): bump the rust-dependencies group with 3 updates ( #13576 )
...
Bumps the rust-dependencies group with 3 updates: [bitflags](https://github.com/bitflags/bitflags ), [hashbrown](https://github.com/rust-lang/hashbrown ) and [cc](https://github.com/rust-lang/cc-rs ).
Updates `bitflags` from 2.9.0 to 2.9.1
- [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.9.0...2.9.1 )
Updates `hashbrown` from 0.15.2 to 0.15.3
- [Release notes](https://github.com/rust-lang/hashbrown/releases )
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/hashbrown/commits/v0.15.3 )
Updates `cc` from 1.2.22 to 1.2.23
- [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.22...cc-v1.2.23 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-version: 2.9.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: hashbrown
dependency-version: 0.15.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
dependency-version: 1.2.23
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-05-20 21:03:55 +09:00
Tobias Kohlbau
f249949598
address warning nix build
...
mkCargoDerivation warns about not using a hardcoded stdenv but isntead
providing a selector function. In addition the log output from cargo
should be captured into a special file.
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
2025-05-20 11:01:38 +02:00
Tobias Kohlbau
3147f98258
fix typo in find-workspace
...
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
2025-05-20 10:30:46 +02:00
Tobias Kohlbau
29226873c9
allow writing registers from steel
...
Allow writing into registers specified by it's character. This enables
for example writing into the system clipboard.
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
2025-05-20 10:15:47 +02:00
Matt Paras
f9d83ac52b
remove some logging
2025-05-19 22:11:03 -07:00
Matt Paras
d451258b28
insert unknown lsps on update
2025-05-19 22:10:41 -07:00
Matt Paras
a2a97f1f8f
properly handle lsp configs as well
2025-05-19 22:03:55 -07:00
Matt Paras
d3fb156824
manually merge each field in the language config
2025-05-19 21:46:05 -07:00
Matt Paras
770d4d33ce
refresh language configs for open docs after update
2025-05-19 20:49:30 -07:00
Matt Paras
39f7244b0f
fix init file and set up language configs
2025-05-19 20:30:16 -07:00
Matt Paras
54b30330b4
clean up, don't error on bootup if the helix file is missing
2025-05-19 19:16:21 -07:00
Matt Paras
c0bb7c29cd
rename workspace function
2025-05-19 08:16:20 -07:00
Matt Paras
94927711b4
make sure docs don't show up for globals that aren't commands
2025-05-19 06:56:12 -07:00
Matt Paras
e6b0badcd0
fix polluting the command palette with global steel functions
2025-05-18 19:30:44 -07:00
Matt Paras
d04c95dc7f
more docs
2025-05-17 22:27:59 -07:00
Matt Paras
64e4826782
more documentation
2025-05-17 22:02:51 -07:00
Matt Paras
56a083a222
more documentation of configuration
2025-05-17 18:32:41 -07:00
Matt Paras
a48abb7b50
just kidding, actually finish documenting the component api
2025-05-17 13:00:34 -07:00
Matt Paras
3b534acbe3
finish documenting component api
2025-05-17 12:28:10 -07:00
Matt Paras
848f2e2e89
instrument proper components module, start documentation
2025-05-17 11:37:23 -07:00
Matt Paras
3f062fa3d0
bring rust version back in line
2025-05-17 08:42:02 -07:00
CalebLarsen
ebf96bd469
Updated python/locals.scm to label `self` and `cls` as `variable.buitin` ( #13552 )
2025-05-17 09:43:21 -05:00
Michael Davis
5a1dcc2429
syntax: Reset query cursor byte range for textobjects
...
`InactiveQueryCursor::new` might reuse a query cursor from a
thread-local cache if one is available, rather than create a new cursor.
Currently tree-house does not reset cached cursors back to defaults
(i.e. byte range and match limit). For now we can patch around this here
but eventually this should be fixed in `tree-house` upstream. Then this
patch can be reverted.
In practice this caused textobjects like `]f` to get "stuck" trying to
move to the next function if it was out of the current view. This is
because the highlight query cursor sets the range of the cursor to the
current viewport. We can reset the byte range to defaults to fix the
textobject behavior.
2025-05-17 10:30:30 -04:00
Michael Davis
be1bf2f909
CI: Set a timeout for the test suite workflow
...
The integration tests have recently become a bit flaky in that
individual tests can seem to hang forever. This needs further
investigation. In the meantime we should limit the total allowed time
for the test workflow to something reasonably low. The default timeout
is a very high 360min.
2025-05-17 09:16:14 -04:00
Michael Davis
05ae617e1c
queries: Reorder Slint and HTML injections in Rust
...
This fixes injections of Slint and HTML in Rust macros. These patterns
must be moved after the generic `(macro_invocation (token_tree))`
pattern since they are more specific, and later patterns now take
priority.
See <https://redirect.github.com/helix-editor/helix/pull/12972#issuecomment-2888300442 >.
2025-05-17 08:48:01 -04:00
CalebLarsen
e606652a96
Removed unnecessary apostrophe in keymap.md ( #13551 )
2025-05-17 07:43:27 -05:00