Commit Graph

994 Commits (ad2d2a8abe29ce30c299f322e42ff3503971e9ba)

Author SHA1 Message Date
CalebLarsen ad2d2a8abe
Merge 7a2d325fa6 into 4281228da3 2025-07-24 13:05:34 -07:00
MrWheatley f75a26cb9b
added janet indents (#14020) 2025-07-21 14:07:11 -04:00
Yorick Peterse 715d4ae2d5
tree-sitter: update Inko grammar and queries (#14022) 2025-07-21 13:51:50 -04:00
Michael Davis 6c71fc00b2
Document tags.scm queries, commands and language support 2025-07-18 11:17:10 -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
Bryce Berger 3658e97c2b
Add tree-sitter injections for jj config files (#13926) 2025-07-16 08:36:54 -05: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
Maikel Martens 43187f2ed3
Add Django language support (#13935) 2025-07-11 10:33:44 -04: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
Kristoffer Plagborg Bak Sørensen 8e0f326ebb
languages: create dedicated language for json-ld (#13925) 2025-07-10 08:49:33 -05:00
Val Packett fc53af9f4e
Add systemd-lsp and dts-lsp (#13907) 2025-07-07 15:55:19 -05:00
Remo Senekowitsch 479c3b5584
Add highlighting for git notes editmsg (#13885) 2025-07-05 10:23:53 -04:00
Kristoffer Plagborg Bak Sørensen 9789b27461
languages: add Java .properties file support (#13874) 2025-07-04 09:17:22 -05:00
Kristoffer Plagborg Bak Sørensen 6c6607ef62
queries: add textobjects for qml (#13855) 2025-07-03 22:19:22 -04:00
David Crespo e5f9937c1d
docs: escape pipe in typeable command name (#13869) 2025-06-30 11:45:47 -04:00
Kristoffer Plagborg Bak Sørensen 91dff9393d
languages: add Caddyfile support (#13859)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-06-30 09:45:22 -05:00
Sean Barag 0ca12250bc
helix-view: expand primary selection line range in shell commands (#13840) 2025-06-30 09:44:55 -05:00
Caleb Larsen 7a2d325fa6 docs: Add jumplist documentation to the book
My spin on adding documentation for the jumplist to the book. Would love
to have other eyes on this and suggest ways to improve it.

Closes: #13594
2025-06-27 15:06:07 -05:00
Nik Revenco 40a3fb9b92
feat: Improved syntax highlighting for Gleam (#13807) 2025-06-21 12:24:19 -05:00
Margret Riegert c96642125f
Update Crystal tree sitter and add support for ameba-ls (#13805)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-06-21 12:02:16 -05: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
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
Caleb Larsen 091f19f67c chore: updated themes using 'comment.block.documentation' to also use 'comment.line.documentation' 2025-06-10 10:54:05 -04:00
Samuel Ibarra 705d467932
Update languages.toml for Mojo (#13648) 2025-06-10 09:43:00 -05: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
Axlefublr 637274c4d4
Add `rotate_selections_{first,last}` commands (#13615) 2025-06-06 15:08:41 -05:00
Matt Conway d375f1e7f4
syntax: add grammar and highlighting for the alloy config lang (#13660) 2025-06-06 10:02:30 -05:00
Jeff Bencin 17fb12bcf3
feat: Add Clarity language support (#13647) 2025-05-31 09:11:16 -05:00
Tino 3366db0afb
Add Ty language server (#13643) 2025-05-29 08:34:23 -05:00
Erasin Wang 733ebcdaeb
Add file indentation style for statusline (#13632) 2025-05-29 08:20:22 -05:00
Axlefublr 2fbe7fc5b5
fix(doc): missing capitalization of `goto_{next,prev}_tabstop` (#13616) 2025-05-26 08:48:32 -05:00
Nik Revenco 1023e8f964
feat: highlight rust string interpolation macros that use `format_args!` (#13533)
Co-authored-by: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-05-24 10:02:32 -05:00
Ricardo Fernández Serrata 237d875e7d
docs(building-from-source): suggest optimized install cmd as alternative (#13553) 2025-05-24 09:24:09 -05:00
CalebLarsen e606652a96
Removed unnecessary apostrophe in keymap.md (#13551) 2025-05-17 07:43:27 -05:00
Rock Boynton f157a918a3
Show the primary selection index on statusline (#12326)
Co-authored-by: Rock Boynton <rboynton@anduril.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-05-15 07:53:02 -05:00
Michael Davis f46222ced3
Revert "feat: Highlight Rust String interpolation macros"
This reverts commit 9bb80a74e1.
2025-05-13 19:52:48 -04:00
Nikita Revenco 9bb80a74e1
feat: Highlight Rust String interpolation macros
Fixes #5845
2025-05-13 19:31:42 -04:00
Michael Davis be1cf090c3
queries: Inject markdown into Rust doc comments
Co-authored-by: Nik Revenco <154856872+nik-rev@users.noreply.github.com>
2025-05-13 19:01:10 -04:00
Rotem Horesh cbac427383
feat: add a tree-sitter grammar and highlights for dunst's config (#13458) 2025-05-05 09:08:33 -05:00
CalebLarsen 46cb177792
feat: add basic Slang support (#13449)
Co-authored-by: uncenter <uncenter@uncenter.dev>
2025-05-05 09:03:40 -05:00
Spenser Black 4784650ccf
Add support for Pug language (#13435) 2025-05-05 08:57:00 -05:00
uncenter ece12dd74d
docs(guides/textobject): list `parameter.around` capture (#13470) 2025-05-05 09:20:57 -04:00
RoloEdits 4c630c148a
feat(commands): add `selection` variable expansion (#13467) 2025-05-04 08:43:09 -05:00
RoloEdits ac3c6ebaff
feat(commands): add `language` variable expansion (#13466) 2025-05-04 08:35:58 -05:00
Daniel Bowring 69b9db2fbb
Add goto_column and extend_to_column commands (#13440) 2025-05-01 09:12:30 -05:00
Joffrey Bluthé 949d9e4433
feat: give formatters access to filename (#13429)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-04-28 17:34:05 -05:00
James Turk 37b5d8ba99
feat: add basic Quarto support (#13339) 2025-04-16 08:03:21 -05:00