7694 Commits
Author SHA1 Message Date
Poliorcetics ba40e54742 jjdescription: use @diff.delta.moved for renames, like git-commit does (#16174) 2026-09-29 11:32:19 +09:00
Vinicius Deolindo e0842e6aae nix: fix stdenv.isLinux deprecation warning (#16189) 2026-09-29 11:31:44 +09:00
RoloEdits 8d687c547c refactor: disable prompts when shelling out to git (#16193) 2026-09-29 11:30:55 +09:00
Ricardo Fernández Serrata bd1b25b5c5 refactor: once_cell -> std (#16221) 2026-09-29 11:30:10 +09:00
Valentin Cocaud 6a85fcc58b Fix(dap): current thread shouldn't switch on start (#16317)
* dap: don't change the active thread on thread events

The active thread is expected to be a stopped thread: it is selected on
`stopped` events and cleared when the application resumes. Setting it on
every `thread` event (started/exited) made step, continue and variables
target running threads, e.g. with java-debug which reports every JVM
thread, and the thread that hit a breakpoint was never selected.

* dap: only reset the active frame when selecting a thread

fetch_stack_trace is also called for threads that stop while another one
is selected, which reset the selected thread's active frame to the top
frame. Reset it only in select_thread_id, when the active thread changes.
2026-09-29 11:25:20 +09:00
Kristoffer Plagborg Bak SørensenandKristoffer Plagborg Bak Sørensen 079a789e8c Detect .lfsconfig as git-config language (#16090)
.lfsconfig uses the same configuration file format as git, as documented
here https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-config.adoc#lfsconfig

Signed-off-by: Kristoffer Plagborg Bak Sørensen <kristoffer.plagborgbak.soerensen@beumer.com>
Co-authored-by: Kristoffer Plagborg Bak Sørensen <kristoffer.plagborgbak.soerensen@beumer.com>
2026-07-23 12:03:37 -04:00
Vinicius Deolindo a47389402c languages: add vtsls language server (#16051) 2026-07-22 09:51:55 -05:00
Leon Matthes 19c0a0ed5a Update Slint Tree-Sitter grammar for 1.17 (#16054) 2026-07-21 10:03:48 -05:00
Vinicius Deolindo 9fed2f03a1 languages: add oxfmt-language-server (#16049) 2026-07-20 11:34:13 -05:00
Kristoffer Plagborg Bak Sørensen 1c15e9f5c1 Detect aerc email client config files as language ini (#16062) 2026-07-20 11:31:22 -05:00
Poliorcetics 8225c504cf languages: uxntal: don't auto-pairs quotes (#16024)
Disable quotes auto-pairing in `.tal` files by filtering down to only
actual pairs in the language: <https://wiki.xxiivv.com/site/uxntal.html#runes>.

Closes #15998
2026-07-20 11:30:54 -05:00
Poliorcetics b3fb7c1ca3 grammars: update Just to support latest versions (#16019)
Bring up Just support to 1.56.0, adding more keywords, injections, and other highlighted items.
2026-07-20 11:28:37 -05:00
Poliorcetics 0ca8da6c5a themes, grammars: uniformize on comment.{line,block}.documentation (#16060)
I tried both `comment.documentation._` and `comment._.documentation`,
the latter was already used more so I went with it.
2026-07-20 11:26:08 -05:00
Poliorcetics d637ac3738 typo: request_document_diagnostics_for_language_se{,r}vers (#16025) 2026-07-20 10:42:23 -05:00
Vinicius Deolindo 703fa83597 queries/nix: highlight function arguments in known higher-order calls (#16068) 2026-07-20 10:39:37 -05:00
Kristoffer Plagborg Bak Sørensen 94e233800c Inject regex into html input tag pattern attribute (#16063)
The value of the pattern attribute in <input> elements are
regular expressions. Documented here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/pattern
2026-07-20 10:38:34 -05:00
Matouš Dzivjak f6f3eb1fe4 feat(runtime/queries/go): public functions and methods (#15997)
* feat(runtime/queries/go): public functions and methods

Same as https://github.com/helix-editor/helix/pull/15879 but for Go.
Add dedicated scope for public functions/methods.

* feat(book): document new 'public' scope for functions/methods

* chore: fixups
2026-07-17 01:30:18 +09:00
Matouš Dzivjak c677375706 fix(runtime/queries/go): regex string injections (#15996)
The Go queries for injecting regex language syntax were taking also
the surrounding quotes. Pass only the raw string content to the
injected syntax.

Fixes: https://github.com/helix-editor/helix/issues/15591
2026-07-17 01:29:29 +09:00
Matouš Dzivjak 14d6bc0feb fix(dap): configuration done body is not required (#15993)
Respect the DAP specs where the `body` for `ConfigurationDone` server
response **isn't** required.

Fixes: https://github.com/helix-editor/helix/issues/15975
2026-07-06 14:46:41 -05:00
Michael Davis 39b3f22b1b queries: Add locals for P 2026-07-05 15:19:38 -04:00
Clément Bœsch 44c801d2b5 fix(build): protect use of Termcode when term features is not set (#15703)
Fixes cargo check -p helix-view (no --features term).
2026-07-04 22:10:04 -05:00
mtul0729 09dcee8aa6 Suppress external URL opener terminal output (#15711) 2026-07-04 22:08:23 -05:00
Lora Edens 02750397f2 Add unit tests for to_camel_case_with and proposed solution to the function (#15752) 2026-07-04 22:01:31 -05:00
Alexandros Christinakis 855c3bf03f fix: refresh diagnostics on end progress (#15780) 2026-07-04 21:59:29 -05:00
Nedd Chairi Muñoz 6765411297 Include Rust attributes in function textobjects (#15778) 2026-07-04 21:57:36 -05:00
Nabeel Valley a0caa8372a Show language server name in exit status message (#15930) 2026-07-04 21:47:39 -05:00
Sanjay Santhanam 3bc022d118 test(editor-config): cover empty alternate brace groups (#15939)
Add a regression test for glob sections combining a brace group with a
following brace group that contains an empty alternate, such as
`*.{nix,yml}{,.foo}`. The empty branch must match plain extensions
(e.g. `flake.nix`) and the non-empty branch must still match
(e.g. `flake.nix.foo`).

Closes #15883
2026-07-04 21:43:48 -05:00
Michael Davis a98a16235c Remove trailing '.git' in ink grammar repo name 2026-07-04 21:42:04 -04:00
Michael Davis ec90947f01 Revert "Add language support for Doxygen"
This reverts commit a262aab7be.

The Nix build can't handle a sha256 grammar repo without either making
the entire build impure or introducing a hash into the Nix files.
2026-07-04 18:01:34 -04:00
Michael Davis bcf17828fd queries: Fix Ink indents 2026-07-04 17:25:41 -04:00
dependabot[bot]andMichael Davis d89c936036 build(deps): bump sha2 from 0.10.9 to 0.11.0 (#15960)
* build(deps): bump sha2 from 0.10.9 to 0.11.0

Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.9 to 0.11.0.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.9...sha2-v0.11.0)

---
updated-dependencies:
- dependency-name: sha2
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* workspace trust: Explicitly hex_encode digests

The new sha2 version does not explicitly implement LowerHex, so we have
to hex encode explicitly.

---------

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>
2026-07-04 16:04:39 -05:00
Michael Davis a3a820c1b2 Run 'cargo xtask docgen' 2026-07-04 16:55:33 -04:00
Atlas Kaisar 83edeefe59 feat(themes): add atlas-ragnarok (#15754)
Tech-blue thunder above, crimson fire below, pure black through the
middle. Built on the Vesper palette structure with the warm-accent
family remapped to a Tailwind blue gradient; full syntax + UI coverage
including markup, diff, LSP diagnostics, and cursor/selection.

Upstream theme repo: https://github.com/AyoubTadlaoui/atlas-ragnarok
2026-07-04 15:38:21 -05:00
Tino a42bd7feea Improve the Adwaita themes' cursor color (#15827) 2026-07-04 15:35:35 -05:00
Kyle d2739cee61 Add Flynt dark and light themes (#15947) 2026-07-04 15:35:03 -05:00
Gaëtan Lehmann 9890a00ffb Make tokyonight primary and secondary cursor visually differentiable (#15832)
The secondary cursor look the same as the primary cursors, making it
difficult to use `,` or `alt-,` features.
With this change the primary cursor is now colored as the current mode
and the secondary cursors are always gray, making them visually
differentiable.
2026-07-04 15:34:36 -05:00
Tyler C Laprade, CFA ce4276dcd6 feat(themes): add Quiet Light theme (#15650)
* feat(themes): add Quiet Light theme

Port of VSCode's built-in "Quiet Light" theme. Distinctive for its
bold-on-functions and bold-on-types styling, a rare choice among
existing Helix themes.

Upstream: https://github.com/microsoft/vscode/tree/main/extensions/theme-quietlight

* theme(quiet_light): tune UI chrome

- Fix invisible popup/menu bg by using editor bg consistently
- Set ui.background fg so picker outer border (Block::bordered, no
  explicit style) inherits a visible color
- Switch popup.info from peek-bg (pale blue) to editor bg for consistency
- Add chrome-border palette entry (#c9d0d9, QL tab.lastPinnedBorder) for
  ui.window and ui.background.separator
- Quote underline + mark link-url underline style properly

* Mute type inlay hints in Quiet Light theme

* Make popups distinct from editor bg in Quiet Light
2026-07-04 15:33:23 -05:00
Vinicius Deolindo 53bc938bbd queries: highlight calling-side of pipe operators as functions (#15948)
* tests: fix nix highlight test assertions

* queries: highlight calling-side of pipe operators as functions
2026-07-04 15:29:52 -05:00
Michael DavisandMarian Buschsieweke a262aab7be Add language support for Doxygen
Co-authored-by: Marian Buschsieweke <2041729+maribu@users.noreply.github.com>
2026-07-04 16:26:06 -04:00
Michael DavisandKristoffer Plagborg Bak Sørensen fead45db00 Add language support for Batch
Co-authored-by: Kristoffer Plagborg Bak Sørensen <57013304+kpbaks@users.noreply.github.com>
2026-07-04 16:26:06 -04:00
Michael Davisandm4dh0rs3 e14e8477e8 Add language support for Metamath
locals.scm used bare @local.definition instead of the required
@local.definition.<class> suffix, so its captures had no effect.
highlights.scm used @function.definition and @function.call, which
aren't real highlight scopes (they fall back to plain @function
anyway). Fixed both to follow convention, splitting locals.scm
definitions into variable (floating/essential hypotheses) and
function (axiom/provable theorems) to match the classification
already used in tags.scm.

Co-authored-by: m4dh0rs3 <54140937+m4dh0rs3@users.noreply.github.com>
2026-07-04 16:26:06 -04:00
Wolf ecf225a290 Update wolf-alabaster themes: distinguish definitions from usages (#15186)
* Update wolf-alabaster themes to distinguish definitions from usages

Changes:
- Differentiate secondary cursors from primary (new cursor-secondary color)
- Don't highlight function calls (function.call, function.method.call = fg)
- Don't highlight builtin function calls (function.builtin = fg)
- Don't highlight type usages (type = fg), only definitions (type.definition)
- Don't highlight namespace usages (namespace = fg)

These changes align with the Alabaster philosophy: only definitions get
color, not usages. See https://tonsky.me/blog/syntax-highlighting/

Works best with query changes from #15185.

* Update wolf-alabaster themes: bracket matching and cursorline

- Use blue + underline for bracket matching (tonsky's original style)
- Distinguish primary cursorline from secondary
2026-07-04 14:57:09 -05:00
Hendrik 14099f08f6 feat(highlights/rust) optional public/private function differentiation (#15879) 2026-07-04 14:48:40 -05:00
wldmr 62df71664d Feature: Improved Ink syntax support (#15713) 2026-07-04 14:44:39 -05:00
Dzming Li c517c2d094 Add MoonBit language support (#15700) 2026-07-04 14:41:50 -05:00
Remo Senekowitsch 728351b667 Update caddyfile tree-sitter grammar (#15951)
There have been some nice fixes to the parsing of heredoc:
https://github.com/caddyserver/tree-sitter-caddyfile/issues/78
2026-07-04 14:37:51 -05:00
jakub-mata 9241cf9267 markdown-inline: Fix highlighting of inline math equations (#15922) (#15965)
Problem: The initial dollar-sign consumed before passing to tree-sitter
Solution: Change `injection.include-unnamed-children` to `injection.include-children`
2026-07-04 14:37:32 -05:00
Kira ba3ccb95b4 fix(just): Fix injection language detection from set shell (#15880) 2026-07-04 14:33:47 -05:00
Xavier R. Guérin 74f4268000 Update SlightLisp grammar (#15888) 2026-07-04 14:33:16 -05:00
Keir Lawson 1e07f0a91a Add stticcheck configuration as TOML (#15911) 2026-07-04 14:24:20 -05:00