Commit Graph

1360 Commits (0354ceb95f93d43f81b33d10b74f67d268934caa)

Author SHA1 Message Date
Michael Davis 3683cd9ea3
queries: Remove unknown predicates 2025-02-22 14:26:41 -05:00
Sebastian Dörner 0deb8bbce6
Add indents and textobjects for Kotlin (#12925) 2025-02-20 11:58:27 -06:00
oxcrow 1c0b36b1b4
Improve jump label colors for `github_light` theme (#12907) 2025-02-18 08:40:42 -06:00
Mike Boutin 1c47aec30c
Improve `onedarker` theme contrast `cursorline`/`selection` (#12833) 2025-02-17 13:04:15 -06:00
Nik Revenco ef375d690e
feat: highlight rust repetition pattern (#12871)
Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-02-17 12:54:49 -06:00
Abderrahmane TAHRI JOUTI 46728046fd
Cyan Theme : fix popup not having any background (#12891) 2025-02-17 10:05:15 -06:00
Abderrahmane TAHRI JOUTI 3ccf8d58de
Cyan light UI grays and directory prompt (#12864) 2025-02-13 07:21:37 -06:00
RoloEdits efb44e0b22
feat(sql): update tree-sitter files (#12837) 2025-02-13 07:16:27 -06:00
Michael Davis 144a4f402f
queries: Fix html highlight precedence ordering 2025-02-12 20:58:09 -05:00
Jean-Louis Fuchs 258e3e1136
feat: Add support for the Ink programming language (#12773) 2025-02-12 09:46:50 -06:00
Matthew Mark Ibbetson 35faa73be1
Add Djot support (#12562) 2025-02-10 15:36:01 -06:00
Abhi 7a3470c48d
Add support for `yara` language (#12753) 2025-02-10 15:32:28 -06:00
Milo Moisson a03becf021
nix: add indent TS query (#12829)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-02-10 14:47:31 -06:00
Kristoffer Plagborg Bak Sørensen a6f94e04e6
feat: add mising pkgs.writers.write* nix tree-sitter injections (#12774) 2025-02-10 14:46:53 -06:00
Kristoffer Plagborg Bak Sørensen 2197b3cfa0
feat: add mising builtins.fromTOML nix tree-sitter injection (#12776) 2025-02-10 14:46:23 -06:00
Jaakko Paju a19c95a0a7
Add CSV language and syntax highlighting (#11973) 2025-02-10 10:51:06 -06:00
Nikita Revenco 1b89f998e8
fix: Rust highlights (regression from the reverse-query-precedence PR) (#12795)
Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-02-07 08:51:22 -06:00
Jonas Köhnen c36ed6ad92
feat(themes): add `ui.text.directory` to gruber-darker (#12797) 2025-02-06 09:31:36 -06:00
Gabriel Dinner-David b0e1eaf50d
reverse zig highlights (#12777) 2025-02-04 20:38:15 -06:00
Drew Zemke a36730cb21
add support for the FGA language (#12763) 2025-02-04 11:06:22 -06:00
uncenter 75abc23428
Add Tera templating language support (#12756) 2025-02-04 10:56:36 -06:00
Michael Davis 16ff06370f
queries: Remove `(ERROR)` from all highlights
We do not highlight `(ERROR)` nodes since the highlighting is quite
noisy while typing. Also see todo comments in `syntax.rs` - we could
introduce configuration in the future to prepend `(ERROR)` to a
language's highlights query.
2025-02-04 09:35:38 -05:00
Robin Heggelund Hansen ee33a84489
Update highlights.scm for Gren language (#12769) 2025-02-04 08:34:59 -06:00
jack ab6a92ed49
update(theme): add virtual-inlay hint highlight to snazzy theme (#11089) 2025-02-02 19:02:48 -06:00
Viktor Szépe e22bbf5489
Fix typos (#12690) 2025-02-02 18:58:29 -06:00
Michael Davis b8bfc44e42
queries: Improve Rust const generic and '_' type highlighting
You may pass constants as type arguments the const generics feature.
This is used in spellbook for example as a poor man's enum, for example
`self.strip_suffix_only::<FULL_WORD>(word, hidden_homonym)`. With this
change that `FULL_WORD` part is highlighted as a constant instead of
a type.

This change also highlight the underscore in type placeholders - this
is similar to the highlighting done for bindings in Elixir or Erlang
for example. In `Vec<_>` the underscore is highlighted the same as a
comment.
2025-02-02 19:28:01 -05:00
Michael Davis 5952d564d1
Reverse highlight precedence ordering (#9458)
Co-authored-by: postsolar <120750161+postsolar@users.noreply.github.com>
Co-authored-by: Iorvethe <58810330+Iorvethe@users.noreply.github.com>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: gabydd <gabydinnerdavid@gmail.com>
2025-02-02 18:17:10 -06:00
Michael Davis 382401020c
queries: Add 'not-eq' and 'not-match' predicates to TSQ highlights 2025-02-02 18:39:07 -05:00
Michael Davis 93fa990e56
queries: Fix module/namespace highlight in Unison 2025-02-02 18:39:07 -05:00
uncenter e70f8833e2
Highlight $ template literals as shell commands (#12751) 2025-02-01 18:18:08 -06:00
Gareth Widlansky 8328c422b7
Add ghostty configuration support (#12703) 2025-01-29 08:56:08 -06:00
0xLucqs 6049f2035b
chore(grammar): update cairo + queries (#12712) 2025-01-28 08:19:33 -06:00
Gabriel Dinner-David 8d6efaf350
fix zig highlight query use of #lua-match (#12708) 2025-01-28 00:19:43 -05:00
Poliorcetics b00b475dfe
just: bump grammar support to Just 1.39.0 (#12692) 2025-01-26 20:10:27 -06:00
Alexis Mousset de738bac6a
Small refinements for modus themes (#12670) 2025-01-25 20:30:43 +09:00
Michael Davis 8bf9adf7b6
Update tree-sitter-elixir 2025-01-24 12:37:48 -05:00
Michael Davis 1afa63d457
rust: Highlight `/` and `!` within comments as comments 2025-01-23 16:17:44 -05:00
Khang Nguyen Duy 5f62c5c24c
Update to more up-to-date zig tree-sitter repo (#11980)
Co-authored-by: Khang Nguyen Duy <iceghost@users.noreply.github.com>
Co-authored-by: Khang Nguyen Duy <os@ndykhang.net>
2025-01-23 14:36:24 -06:00
uncenter f70923c448
Restrict tagged template language injections for ecma (#12217) 2025-01-23 13:45:35 -06:00
Branch Vincent 0d5f6f04c9 Add fish-lsp and bump tree-sitter-fish 2025-01-23 14:23:48 -05:00
Roman Frołow 122bbea7cf
tutor: flips selections -> flips direction of selection (#12638) 2025-01-23 13:22:28 -06:00
Rock Boynton dca235c5c8
Update `tree-sitter-rust` (#12607)
Co-authored-by: Rock Boynton <rboynton@anduril.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-01-23 13:11:07 -06:00
Frans Skarman 954c97f2b5
Bump Spade grammar (#12583) 2025-01-18 09:43:45 -06:00
Valentin B. 29dda1403f
chore(solidity): update to newest grammar and fix queries (#12457) 2025-01-16 09:11:18 -06:00
David Else ca19496eed
Improve `dark_plus` theme: Change `special`, `ui.text.directory` and `ui.virtual.wrap` (#12530) 2025-01-14 12:55:01 -06:00
Robin Heggelund Hansen f69659c5be
Add support for the Gren programming language (#12525) 2025-01-14 08:26:56 -06:00
Álan Crístoffer 367ccc1c64
Fix a bug in matlab indentation and updates the grammar commit hash to latest (#12518) 2025-01-13 07:43:02 -06:00
Nikita Revenco a539199666
feat(highlights): add more built-in functions for `ecma`, `rust` and `haskell` (#12488)
Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-01-11 14:59:03 -06:00
Nikita Revenco 8f5f818c88
fix(highlights): recognize `!` as the never type (#12485)
Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-01-11 10:49:39 -06:00
Evan Richter 9721144e03
language support: CodeQL (#12470) 2025-01-10 09:03:04 -06:00
uncenter 6c9619d094
Improve markdown heading highlights (#12417) 2025-01-05 16:35:09 -06:00
uncenter e856dde738
Use `@attribute` scope for JSX attributes (#12416) 2025-01-05 16:33:08 -06:00
Seigo Mori 377e36908a
Add cursorline color to iceberg theme (#12404) 2025-01-05 10:58:31 -06:00
Nikita Revenco fa4aa0fb42
docs: catppuccin themes should not be directly edited here (#12400)
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
2025-01-05 10:55:28 -06:00
Nikita Revenco 2b8f8df1af
feat: correct Swift highlights (#12409)
- Adds injections for the `comment` language
- Correct highlight of the `nil` value. Same highlight as `null` in javascript, java and others
- Recognize `<` and `>` as punctuation, used in generics (same color as the syntax used in other languages)
- `protocol` function methods are recognized
- When accessing object properties, like `hello.world`, the `world` is properly recognized as being a member
- Recognize the `\` as an operator
2025-01-05 10:54:45 -06:00
Nikita Revenco eed052e86b
feat: highlight `:` as a delimiter in Rust (#12408) 2025-01-05 10:51:33 -06:00
Erasin Wang 0654a1f058
Update onelight theme (#12399) 2025-01-05 10:27:38 -06:00
Niza Toshpulatov 9dcc1f06b0
Add dim modifier to diagnostic.unnecessary in catppuccin_mocha.toml (#12391) 2025-01-03 08:13:44 -06:00
Michael Davis e0bccd2c58
tsq: Tune highlights to more closely match 24.07 release
The changes in #12148 were a bit radical - this restores some
customizations we had like using "label" for captures and not
highlighting the '#' or '?'/'!' parts differently. Also the highlighting
for predicates we do (not) support has been restored.
2025-01-02 15:37:18 -05:00
Sebastian Dörner b1759f998d
Migrate to an improved proto grammar (#12225) 2024-12-31 13:41:53 -06:00
Egor Afanasin 41763b4851
Sunset theme: add ui.text.directory (#12372) 2024-12-31 09:11:33 -06:00
Michael Davis 127567df8e
docs: Fix dead links to tree-sitter docs
tree-sitter now uses mdbook for their docs and the switch adds a chapter
number to each section, so each link to the website needs an update.
2024-12-28 09:05:48 -05:00
uncenter a5a7cff311
Improve tsq/tree-sitter-query language support (#12148) 2024-12-27 08:57:53 -06:00
Bryce Berger eda96cc285
Add diff injections for jjdescription tree-sitter (#12305) 2024-12-25 09:35:34 -06:00
Nikita Revenco faf0eee3c9
feat: Highlight `=` and `;` in `.proto` files (#12339) 2024-12-25 09:06:14 -06:00
Nikita Revenco 0fd4a4aae2
feat: Nginx support (#12309)
Co-authored-by: Denis Gruzdev <codingjerk@gmail.com>
2024-12-24 13:22:29 -06:00
Pedro Fedricci 9e77c44b38
feat(themes): add `ui.text.directory` to nightfox (#12328) 2024-12-23 20:26:16 -06:00
cornishon a91263d604
Odin textobjects (#12302)
Co-authored-by: Adam Zadrożny <zadroznyadam@protonmail.com>
2024-12-20 09:59:28 -06:00
Ian Hobson 06d0f33c94
Add Koto language support (#12307) 2024-12-20 09:56:13 -06:00
uncenter 1e9412269a
Sync Catppuccin theme changes (#12304) 2024-12-20 09:43:45 -06:00
Christian Schneider 13e5a2ee5a
Outdent array literals for php [] (#12286)
Co-authored-by: Christian Schneider <schneider@search.ch>
2024-12-18 08:52:20 -06:00
David Else 0134bb7063
Update dark_plus theme for inactive text and improve jump label (#12289) 2024-12-18 08:32:41 -06:00
Peter Ingram ec65cc4913
Adds colored directories to everforest themes (#12287)
Co-authored-by: Peter Ingram <p.ingram@mrx.technology>
2024-12-18 08:31:40 -06:00
Nikita Revenco 91a5d407da
Allow theming directory prompt completions (#12205) 2024-12-17 21:13:42 -06:00
Tim Sampson cc3b77b584
dockerfile: bump tree-sitter grammar to gain support for heredocs (#12230) 2024-12-17 13:26:49 -06:00
RoloEdits 617f538d41
feat(highlights): add `COMPLIANCE` to `error` (#12244) 2024-12-13 13:26:08 -06:00
rojebd 5bdf14110f
add Vintage theme (#9361)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-04 17:12:21 -06:00
rojebd 8a7006dd57
update voxed theme (#9328) 2024-12-04 17:03:45 -06:00
barsoosayque cd972ae77d
Add support for Teal language (#12081)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-04 14:59:11 -06:00
Nikita Revenco c0bfdd7bfe
fix: catppuccin theme colors for checked and unchecked lists (#12167) 2024-12-02 12:37:01 -06:00
uncenter 548f04fe26
Add support for the Vento template language (#12147)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-02 09:03:11 -06:00
xiabo 44c1d51d8c
add bufferline highlighting for flexoki themes (#12146) 2024-12-02 09:01:00 -06:00
Poliorcetics 83fe23ce75
just: bump grammar support to Just 1.37.0 (#12141) 2024-12-02 08:45:46 -06:00
Ronan Desplanques 95e6c11ebc
Improve language support for Ada (#12131)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-26 12:43:34 -06:00
Lens0021 / Leslie f305c7299d
Add support for Amber-lang (#12021)
Co-authored-by: Phoenix Himself <pkaras.it@gmail.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-21 10:09:42 -06:00
Valentin B. 9e0d2d0a19
chore(solidity): add highlight queries (#12102)
Add highlights for `hex` and `unicode` string prefixes and YUL booleans
2024-11-21 07:58:14 -06:00
Niklas Gruhn b8313da5a8
Add language support for Quint (#11898)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-20 17:56:24 -06:00
Egor Afanasin 32ff0fce4a
Add Sunset theme (#12093) 2024-11-20 17:26:44 -06:00
PORTALSURFER 8807dbfc40
Update current hex themes, add a new hex theme (#10849) 2024-11-20 17:20:04 -06:00
Yerlan 887bbbc375
Adding NestedText language support (#11987)
Co-authored-by: Yerlan Sergaziyev <yerlan.sergaziyev@rms-consult.de>
2024-11-20 16:39:34 -06:00
Heath Stewart 843c058f0b
Use latest tree-sitter-bicep, support bicepparams (#11525)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-20 16:38:15 -06:00
Travis Harmon ed7e5bd8dc
Use bold statusline for mode indicator in onedarker theme (#11958) 2024-11-20 16:36:59 -06:00
Frans Skarman 310bc04f23
Add spade support (#11448)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-20 16:35:49 -06:00
Alexis Mousset 8c6ca3c0fc
Update modus themes to 4.6.0 (#11949) 2024-11-20 16:30:35 -06:00
Keir Lawson 4dc46f9472
Make Spacebones theme picker selection more legible (#12064) 2024-11-20 16:20:21 -06:00
Javier Goday 4d0b7e57b1
Set tags color in monokai theme (#11917) 2024-11-20 16:19:58 -06:00
zetashift 56bb366f7e
Update Unison grammar and queries (#12039) 2024-11-20 16:18:18 -06:00
Eamon Caton e2d79c1891
Add Carbonfox theme (#11558) 2024-11-20 16:16:05 -06:00
mesmere 5b3e0b64f0
Add new "Eiffel" theme (#11679) 2024-11-20 16:15:38 -06:00
Michael McClintock 07262f5170
Add yo themes (#11703) 2024-11-20 16:15:13 -06:00