Matthew Cheely
7960c131d7
Merge 645eb759cb
into 395a71bf53
2025-07-23 17:28:40 -03:00
Alexander Meinhardt Scheurer-Volkmann
b01fbb4a22
Fix symlink directories in file explorer ( #14028 )
2025-07-21 14:10:06 -04:00
Michael Davis
6c71fc00b2
Document tags.scm queries, commands and language support
2025-07-18 11:17:10 -04:00
Michael Davis
727758e068
Add syntax symbol pickers based on tags.scm queries
2025-07-18 11:16:42 -04:00
Michael Davis
2d5826d194
Complete words from open buffers ( #13206 )
2025-07-18 09:51:00 -05:00
Björn Ganslandt
2ee11a0a9d
Add textobjects for XML, HTML and JSX ( #11158 )
2025-07-16 09:02:52 -05:00
dependabot[bot]
ab668c2dfc
build(deps): bump toml from 0.8.23 to 0.9.2 in the rust-dependencies group ( #13955 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-07-16 08:18:17 -05:00
Michael Davis
6fd1efd1c2
Gracefully handle highlighter bugs in the markdown component
...
Since tree-house is young and we've seen a few bugs that make it go
backwards, we should handle this case gracefully and just give up on
syntax highlighting with an error log.
2025-07-13 13:12:14 -04:00
Matthew Toohey
7e1fbb05fd
feat: add :buffer-close-others --skip-visible flag ( #5393 )
2025-07-11 11:17:50 -05:00
Michael Davis
2f560914fb
Add a '--no-format' flag for :write commands
2025-07-11 12:00:41 -04:00
Michael Davis
532f241287
Allow symlinks in shell program completions
...
Co-authored-by: thort <thort@compass-vm>
2025-07-11 10:30:58 -04:00
belowm
de898460b8
Allow `:move` command to accept directories as target ( #13922 )
...
Co-authored-by: Martin Below <martin@below.cologne>
2025-07-10 14:28:53 -05:00
Andrew Davis
02fe437622
Fix off by one error when opening multiple new lines with CRLF line endings ( #13905 )
2025-07-07 17:41:16 -05:00
Tino
6a090471a8
Fix panic in `goto_word` when `editor.jump-label-alphabet` is empty ( #13863 )
2025-07-01 09:06:54 -05:00
dependabot[bot]
0043c16506
build(deps): bump indexmap in the rust-dependencies group ( #13872 )
...
Bumps the rust-dependencies group with 1 update: [indexmap](https://github.com/indexmap-rs/indexmap ).
Updates `indexmap` from 2.9.0 to 2.10.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md )
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.9.0...2.10.0 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-version: 2.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
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-07-01 17:06:54 +09:00
CalebLarsen
305f8bc165
Re-detect `.editorconfig` on `:config-reload` ( #13443 )
2025-06-30 09:21:37 -05:00
CalebLarsen
c3c4895179
fix: Make code-action popup auto close like other popups ( #13832 )
2025-06-25 08:21:24 -05:00
dependabot[bot]
4f985832bf
build(deps): bump libc in the rust-dependencies group ( #13827 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-23 21:41:00 -04:00
Michael Davis
43963473e3
Add a `ConfigDidChange` event
...
This is meant to be minimal for now and is expected to change as the
config system evolves.
Features like word completion should be able to hook into this to
initialize or clear the word index when the toggle for the feature is
turned on or off (respectively).
2025-06-23 11:32:51 -04:00
Jason Williams
2338b44909
DAP: Support the startDebugging reverse request ( #13403 )
2025-06-23 09:48:05 -05:00
Michael Davis
4a85171907
Show all active scopes in :tree-sitter-highlight-name
...
Previously the command only showed the top of the stack of highlights.
Now it shows all active highlights under the cursor, comma separated.
2025-06-21 12:29:13 -04:00
Michael Davis
d3fb8fc9b8
Fix prompt truncation for non-ASCII lines
...
The prompt was previously assuming that each grapheme cluster in the
line was single-width and single-byte. Lines like the one in the new
integration test would cause panics because the anchor attempted to
slice into a character.
This change rewrites the anchor and truncation code in the prompt to
account for Unicode segmentation and width. Now multi-width graphemes
can be hidden by multiple consecutive elipses - for example "十" is
hidden by "……" (2-width).
Co-authored-by: Narazaki, Shuji <shujinarazaki@protonmail.com>
2025-06-19 10:44:06 -04:00
yuri
684e108fd0
Fix `goto_file` on Windows ( #13770 )
2025-06-18 19:32:14 -05:00
Roald Storm
1491cbc8f3
Add diagnostic source to diagnostic pickers ( #13758 )
2025-06-17 09:17:46 -05:00
Saheed Adeleye
e11794be37
use human-readable sizes for file size on save/write ( #13627 )
2025-06-17 09:10:14 -05:00
Nik Revenco
fba644f2b4
fix: inconsistent error messages ( #12577 )
...
Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-06-17 09:04:50 -05:00
dependabot[bot]
24fe989596
build(deps): bump the rust-dependencies group with 3 updates ( #13777 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-17 08:54:41 -05:00
Michael Davis
ba54b6afe4
LSP: Short-circuit documentColors request for no servers
...
This fixes a deadlock when starting Helix with very many files, like
`hx runtime/queries/*/*.scm`. The tree-sitter query files don't have
an active language server on my machine and yet we were spawning a tokio
task to collect documentColors responses. We can skip that entirely.
Further debugging is needed to figure out why this lead to a deadlock
previously.
2025-06-16 09:42:48 -04:00
Nylme
645eb759cb
parsing_typeable_commands: added test for macro command labels
2025-06-16 13:43:42 +12:00
Nylme
c1ff1f6572
parsing_typeable_commands: fixed test
2025-06-16 13:43:42 +12:00
Nylme
5f82a359a3
Fixed deserializing macro labels/names from .toml keymap
2025-06-16 13:43:42 +12:00
Vulpesx
ba9a21921d
fix: forgor to tell helix to display sequence labels
2025-06-16 13:43:42 +12:00
Vulpesx
f224397de7
feat: labels for sequences
2025-06-16 13:43:42 +12:00
Vulpesx
9834893991
fix: tests after merging master
2025-06-16 13:43:42 +12:00
Matthew Cheely
c070013d4f
Fix build after latest rebase
2025-06-16 13:43:41 +12:00
Matthew Cheely
7366b3e8b0
Fix runtime config parse issues after rebase on latest master
2025-06-16 13:43:41 +12:00
Matthew Cheely
f4ac049e6c
return errors for ambiguous and unsupported labels in menus
2025-06-16 13:43:41 +12:00
Matthew Cheely
0d307265f6
Simplify labelled command pattern match
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-06-16 13:43:41 +12:00
Matthew Cheely
a5d1c0571a
refactor keymap map visitor to reduce # of cases
2025-06-16 13:43:41 +12:00
Matthew Cheely
a7f603361a
Add support for labels on typable commands
2025-06-16 13:43:41 +12:00
Matthew Cheely
08e0616a4c
Add support for labels in custom menu keymaps
2025-06-16 13:43:41 +12:00
yuri
1315b7e2b1
Feat: inlay hint length limit ( #13742 )
2025-06-13 11:09:21 -05:00
Jonas Köhnen
fba1a6188a
Picker: Detect language before rendering preview ( #13761 )
2025-06-13 09:29:26 -05:00
Michael Davis
633c5fbf0f
Update language loader before refreshing theme in `:config-reload`
...
Since locals are handled during parsing instead of highlighting with
tree-house, we need to call `helix_core::syntax::Loader::set_scopes`
before parsing any documents. During `:config-reload` we previously
reloaded the `Loader` and re-parsed documents and _then_ updated the
theme. So documents were parsed before `Loader::set_scopes` was called
on the new loader.
With this change the `refresh_language_config` helper is inlined into
`refresh_config`. Updating the `Editor`'s `ArcSwap` of the loader is
done before updating the theme so that the `load_configured_theme`
helper can call `set_scopes` with on the new loader.
2025-06-08 15:05:22 -04:00
Axlefublr
637274c4d4
Add `rotate_selections_{first,last}` commands ( #13615 )
2025-06-06 15:08:41 -05:00
Ryan Mehri
6c43dc4962
fix: trim whitespace up to the last selection on insert_newline ( #13673 )
2025-06-03 08:45:19 -05:00
Michael Davis
67f1fe20c3
Fix command line completion replacement for quoted items
...
With a directory with spaces in the name (for example
`mkdir -p 'Temp/Abc Def'`), completing `Temp/Ab` would create a
completion item `'Temp/AbAbc Def'`. Now it correctly completes
`'Temp/Abc Def'`
2025-05-31 09:56:54 -04:00
Erasin Wang
733ebcdaeb
Add file indentation style for statusline ( #13632 )
2025-05-29 08:20:22 -05:00
CalebLarsen
2bd7452fe0
Make signature_help more like hover, fix overflow and lack of scrolling in signature_help ( #13566 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-05-27 10:18:12 -05:00
CalebLarsen
7dcddf98c6
Append changes to history on jumps ( #13619 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-05-27 09:44:47 -05:00