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
Matt Paras
081f9e86ed
update install instructions
2025-06-21 11:42:54 -07: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
Matt Paras
b858f9f8d8
typos
2025-06-18 07:56:35 -07:00
Matt Paras
47b3ab8037
update steel
2025-06-16 19:56:28 -07: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
d4fe0a0bb0
update steel
2025-06-15 06:52:56 -07:00
Matt Paras
1301c93672
add rope docs
2025-06-14 15:24:17 -07:00
Matt Paras
bb1d8af7fe
update steel docs and add more rope functions
2025-06-14 15:04:55 -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
Lens0021 / Leslie
52192ae29e
Add Amber language server ( #13763 )
2025-06-13 10:05:21 -05:00
Jonas Köhnen
fba1a6188a
Picker: Detect language before rendering preview ( #13761 )
2025-06-13 09:29:26 -05:00
polyface
b90d8960a8
added crystal formatter in languages.toml ( #13759 )
...
Co-authored-by: polyface <polyface@proton.me>
2025-06-13 09:20:07 -05:00
uncenter
6e4ec96101
Highlight Ecma escape sequences ( #13762 )
2025-06-13 09:15:40 -05:00
Matt Paras
7a006f7e30
clean up
2025-06-12 17:47:26 -07:00
CalebLarsen
62f270e5d2
chore: updated c,c++ highlights ( #13747 )
2025-06-12 09:28:09 -05:00
Matt Paras
3311c4ec25
update steel
2025-06-11 12:31:17 -07:00
idealseal
3b7aaddb13
feat: add neocmakelsp language server ( #13740 )
2025-06-11 09:00:46 -05:00
Nguyễn Đức Toàn
ab97585b69
feat: add tombi language server ( #13723 )
2025-06-10 10:35:11 -05:00
yuri
9dbfb9b4eb
Merge formatting options and `config.format` in range format request ( #13734 )
2025-06-10 09:55:46 -05:00
Caleb Larsen
091f19f67c
chore: updated themes using 'comment.block.documentation' to also use 'comment.line.documentation'
2025-06-10 10:54:05 -04:00
Caleb Larsen
ae3eac8aeb
fix: Rust now correctly highlights doc comments as @comment.{block,line}.documentation instead of @comment
2025-06-10 10:54:05 -04:00
dependabot[bot]
fbe9785613
build(deps): bump the rust-dependencies group with 4 updates ( #13730 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-10 09:45:32 -05:00
spentbliss
7092e30f8d
feat(colorscheme): add lapis_aquamarine colorscheme ( #13726 )
...
Co-authored-by: spentbliss <spentbliss@users.noreply.github.com>
2025-06-10 09:44:30 -05:00
Samuel Ibarra
705d467932
Update languages.toml for Mojo ( #13648 )
2025-06-10 09:43:00 -05:00
dependabot[bot]
05a4d05646
build(deps): bump which from 7.0.3 to 8.0.0 ( #13729 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-10 09:42:04 -05:00
Matt Paras
cae10b8558
create init and helix files if they don't exist
2025-06-10 06:07:42 -07:00
Matt Paras
67f5b70169
implement equality for some more types
2025-06-09 07:00:45 -07:00
CalebLarsen
2b26d27416
fix: re-ordered and updated python highlights ( #13715 )
2025-06-08 21:34:37 -04:00
Grey
e773d6cc92
feat: add luau grammars and lsp ( #13702 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-06-08 15:21:08 -04: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
Tan Kian
b75e95862c
Add Pyrefly language server ( #13713 )
2025-06-08 15:01:01 -04:00
Michael Davis
f4b488e380
Remove unused `helix_core::graphemes::is_grapheme_boundary`
...
This function was never used and will be superseded by
`RopeSliceExt::is_grapheme_boundary` (which accepts a byte index rather
than a character index) once we transition to Ropey v2. In the meantime
any callers should convert to byte index and use the `RopeSliceExt`
extension rather than form new dependencies on this.
2025-06-06 18:24:44 -04:00
Michael Davis
7410fe35a3
Update tree-house and bindings to v0.2.0
2025-06-06 17:14:08 -04:00
Axlefublr
637274c4d4
Add `rotate_selections_{first,last}` commands ( #13615 )
2025-06-06 15:08:41 -05:00
Michael Davis
01341cbbf6
minor: Add missing call to `Vec::clear` for a buffer
2025-06-06 12:23:22 -04:00
Michael Davis
b1f4717356
Allow multiple `#not-kind-eq?` predicates in indent queries
...
This fixes a regression from the switch to tree-house with one of the
custom predicates in indent queries: `#not-kind-eq?`. This predicate
should be allowed to be written multiple times in a pattern. For example
in the Go indents:
; Switches and selects aren't indented, only their case bodies are.
; Outdent all closing braces except those closing switches or selects.
(
(_ "}" @outdent) @outer
(#not-kind-eq? @outer "select_statement")
(#not-kind-eq? @outer "type_switch_statement")
(#not-kind-eq? @outer "expression_switch_statement")
)
So instead of an `Option<T>` of one we need a `Vec<T>` and we need to
check that all of these predicates are individually satisfied (basically
`iter().all(/* node kind is not expected kind for that capture */)`).
2025-06-06 12:14:43 -04:00
Michael Davis
25b299abc5
queries: Recognize methods as a locals scope
...
This fixes a bug in highlighting parameter variables in Go methods.
See <https://redirect.github.com/helix-editor/helix/issues/13674#issuecomment-2935514099 >
2025-06-06 11:48:18 -04:00