Commit Graph

2856 Commits (28bdf667d9b937f32fa371dad041c657caa67266)

Author SHA1 Message Date
Tom Schafer 28bdf667d9
Add key-event-end? function (#51) 2025-07-20 11:05:50 -07:00
Matt Paras 81e8ba82e4 address most of the comments 2025-07-17 21:37:02 -07:00
Matt Paras bafe5bdb0e merge master 2025-07-16 08:54:35 -07: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
Marco Kurzynski f377c1cff8
added a selected-register! function for the plugin system for use with register->value etc. (#41) 2025-07-09 07:10:10 -07:00
meepleek 46abe80bdd
Add more fns to update selection ranges (#38)
* feat: add push-range & set-primary-index fns

* feat: add remove-range fn

---------

Co-authored-by: meepleek <ergocrab@gmail.com>
2025-07-09 07:05:45 -07:00
Matt Paras 8218db65e8 fix windows paths for registering additional search paths 2025-07-08 18:26:14 -07:00
Tom Schafer 7a8db551a3
add key-modifier-super function (#46) 2025-07-07 19:34:02 -07: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
Matt Paras 557aa9cc19 add warning and error 2025-06-21 14:44:15 -07:00
Matt Paras ef7ea0f519 auto convert values to strings when logging 2025-06-21 14:36:14 -07:00
Matt Paras 3ee0e81d67 special case strings when setting the status to eliminate the quotes 2025-06-21 14:34:50 -07:00
Matt Paras ef244de365 don't set the status as void when the return value is void 2025-06-21 13:36:56 -07:00
Matt Paras 45480fc6be add range and selection conversions 2025-06-21 13:09:35 -07: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
Matt Paras 1393d1452b set default name to be the id 2025-06-21 09:11:37 -07:00
Matt Paras b2c28b8c37 bump steel version 2025-06-21 08:26:57 -07:00
Matt Paras d4958e4a71 expose paste events in components 2025-06-20 08:14:21 -07: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
Matt Paras a35388a9e1 add return value for the inlay hints removal 2025-06-15 22:14:19 -07:00
Matt Paras ec38807642 add removing inlay hints by id to remove all invalidated inlay hints 2025-06-15 22:13:19 -07:00
Matt Paras 629bb38be6 adjust inlay hint api to remove just based on character index and not the completion as well 2025-06-15 17:24:21 -07:00
Nik Revenco f582c8b7bd
feat: add API for selection and ranges (#33)
* feat: add API for selection and ranges

* fix: use `no_context!` macro for declaring these functions

* chore: rename accessors to structs
2025-06-15 09:42:58 -07:00
Matt Paras 1301c93672 add rope docs 2025-06-14 15:24:17 -07:00
Matt Paras 7e0c4387d7 remove some newlines 2025-06-14 12:41:55 -07:00
Matt Paras c1b5ff2305 address warnings 2025-06-14 12:31:30 -07:00
Matt Paras 2fe135cf7d set up integration to listen to lsp notifications that aren't handled by helix 2025-06-14 09:44:08 -07:00
Matt Paras 1eecadb050 merge from master 2025-06-14 07:22:13 -07:00
Matt Paras b6b02c8c22 add docs for ropes 2025-06-13 23:34:51 -07:00
Matt Paras bf2247808c clean up doc fetching 2025-06-13 15:31:52 -07:00
yuri 1315b7e2b1
Feat: inlay hint length limit (#13742) 2025-06-13 11:09:21 -05:00