Commit Graph

6730 Commits (0706818795179091f953fd8907325b4f9d25a11a)

Author SHA1 Message Date
Nik Revenco 0706818795
Merge a2f219968a into 4418e338e8 2025-07-18 21:01:41 +02:00
Michael Davis 4418e338e8
Use syntax symbol pickers for Erlang
Neither language server robustly supports workspace symbol search.
`erlang-ls`'s symbol picker takes a long time to open successfully on
boot. `elp`'s is faster but not faster than the tags query.
2025-07-18 11:17:10 -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 63eb1b870c
Add initial tags.scm queries
Co-authored-by: cgahr <26804763+cgahr@users.noreply.github.com>
Co-authored-by: eh <correia.eh@gmail.com>
2025-07-18 11:12:41 -04:00
Michael Davis 2d5826d194
Complete words from open buffers (#13206) 2025-07-18 09:51:00 -05:00
Michael Davis 9f4ef2fc3d
Add release notes for 25.07.1
(cherry picked from commit a05c151bb6)
2025-07-18 10:39:27 -04:00
RoloEdits fd8aacc1a4
build: lower ubuntu version from `24.04` to `22.04` (#13983) 2025-07-18 09:16:21 -05:00
Björn Ganslandt 2ee11a0a9d
Add textobjects for XML, HTML and JSX (#11158) 2025-07-16 09:02:52 -05:00
Poliorcetics 9512cb9472
contrib(completions/nushell): switch from deprecated `filter` to `where` (#13848) 2025-07-16 08:43:33 -05:00
Bryce Berger 3658e97c2b
Add tree-sitter injections for jj config files (#13926) 2025-07-16 08:36:54 -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
Anton Romanov ef2ebc5f24
[theme] Fix zenburn doc comment color (#13962) 2025-07-16 08:10:57 -05:00
Michael Davis 5cda70e866
Add changelog notes for 25.07 (#13939) 2025-07-15 13:26:52 -05:00
Meiram Shunshalin c67c3faa78
feat(themes): add soft-wrap style for nightfox (#13957) 2025-07-15 08:42:41 -05:00
Nik Revenco a2f219968a queries: Highlight mutable variables in Rust 2025-07-14 02:28:50 +01:00
Nik Revenco e610e7dd80 queries: Highlight interpolations in the `rsx!` macro 2025-07-14 02:02:12 +01:00
Nik Revenco b273b89249 Merge branch 'master' into rust-better-fns 2025-07-14 02:00:34 +01: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
Michael Davis 86f10ae24c
Add a language to fix Rust highlights in format-args macros
This is a bit hacky. Injections cannot stack on each other like
highlights because layers can have their own injections. So this new
language `rust-format-args-macro` emulates that. It unconditionally
injects `rust-format-args` into all strings. Rust injects this new
language into known format-args macros like `println!`.

The downside is that this can cause false-positive highlights within
these macros for strings which happen to contain format-args syntax

    println!("Hello, {}!", "{}");
    //               ^ format args syntax
    //                      ^ not format args syntax, but highlighted
    //                        as if it were :(

This false-positive case is expected to be rare.

Injecting this fake language fixes regular non-string highlights in
macro invocations: macro invocations need to inject the entire token
tree and use `injection.include-children` for proper highlighting.
2025-07-13 12:01:18 -04:00
Michael Davis d2f37b1559
deps: Update tree-house-bindings to v0.2.1 2025-07-12 18:21:28 -04:00
Nik Revenco e844a4365d
fix: bitwise representation for RGB highlight (#13188)
Co-authored-by: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-07-12 11:11:31 -04:00
Nik Revenco 963475d7bf
Merge branch 'master' into rust-better-fns 2025-07-12 15:46:51 +01:00
Nik Revenco df1ea8cba3 queries: do not highlight `bar` in `bar = || ()` as closure 2025-07-12 15:42:34 +01:00
Nik Revenco db15411f63 queries: highlight more patterns in parameters 2025-07-12 15:09:41 +01:00
CalebLarsen ca7479ca88
Add docs to helix-stdx, helix-tui, helix-vcs (#13765) 2025-07-12 09:48:00 -04:00
Nik Revenco 6ddadd3fa7 queries: highlight local closures 2025-07-12 14:35:13 +01:00
Nik Revenco 36c4fa6ab4 fix: `map_or_else` has both arguments as closures 2025-07-12 14:24:38 +01:00
Nik Revenco 9de1c7213b queries: `bar` in `let bar = || 4` is a function 2025-07-12 14:18:12 +01:00
Nik Revenco b5a07f9974 queries: `bar` in `foo::bar` is always a function when passed as arg 2025-07-12 14:11:22 +01: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
spentbliss 636cbe58e3
feat(theme): add doom-one theme (#13933)
Co-authored-by: spentbliss <spentbliss@users.noreply.github.com>
2025-07-11 10:34:45 -04:00
Maikel Martens 43187f2ed3
Add Django language support (#13935) 2025-07-11 10:33:44 -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
Nik Revenco 42db29a32d fix: highlight `_` in `[_]` as `@comment.unused` 2025-07-11 03:21:45 +01:00
Nik Revenco fd11bd26cb queries: improve `@function` highlights when passed as arguments 2025-07-11 03:16:35 +01:00
Gabriel Lopes Rodrigues ba04f53830
languages: consider compose.yaml/.yml as docker compose language (#13930) 2025-07-10 20:14:45 -05:00
StratusFearMe21 242353b2ba
Add ability to configure atomic saving (#13656)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2025-07-10 19:12:59 -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
Kristoffer Plagborg Bak Sørensen 8e0f326ebb
languages: create dedicated language for json-ld (#13925) 2025-07-10 08:49:33 -05:00
connnnal 16d06643a4 queries: Odin or_break+or_continue keywords, struct indents
from https://github.com/tree-sitter-grammars/tree-sitter-odin/pull/25
2025-07-08 19:05:48 -04:00
connnnal 9447a9cc93 chore: Bump Odin grammar 2025-07-08 19:05:48 -04:00
Jonas Köhnen febc3d03b3
queries/gomod: add "tool", "toolchain" to keywords (#13913) 2025-07-08 08:19:11 -05:00
dependabot[bot] 06047808eb
build(deps): bump the rust-dependencies group with 2 updates (#13909)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-08 08:18:37 -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
Daniel Fortes e88e48f41c
Rose pine theme: improve contrast of selected menu item (#13908) 2025-07-07 16:09:16 -05:00
Val Packett fc53af9f4e
Add systemd-lsp and dts-lsp (#13907) 2025-07-07 15:55:19 -05:00
Kristoffer Plagborg Bak Sørensen 3e5bb392fa
languages: add comment tokens for DTD language (#13904) 2025-07-07 14:02:26 -04:00
Remo Senekowitsch 479c3b5584
Add highlighting for git notes editmsg (#13885) 2025-07-05 10:23:53 -04:00