Commit graph

2870 commits

Author SHA1 Message Date
Leo
066fd65053
feat(solidity): add doxygen injections (#7853) 2025-05-12 18:43:30 +02:00
Leo
0484f881c6
feat(solidity): add abstract keyword 2025-05-12 18:43:10 +02:00
Caleb White
28d480e062
fix: blade injection highlighting (#7846)
Injecting php was broken upstream so this is a temporary fix until
upstream fixes it.

See https://github.com/nvim-treesitter/nvim-treesitter/issues/7842
2025-05-05 20:05:53 -07:00
Marc Jakobi
94ea4f436d feat(haskell): injections for inline-python quasiquotes 2025-04-30 11:45:52 +02:00
Christian Clason
3b308861a8 fix(injections): dtd, glimmer.*, razor, tablegen, teal 2025-04-27 11:04:54 +02:00
Christian Clason
4c7509e7b0 fix(roc): use correct predicate in injections 2025-04-26 22:12:46 +02:00
blindfs
58dd149629 fix(nu): add missing ctrl_match to query files 2025-04-26 10:41:10 +02:00
Peter Cardenas
684eeac91e feat(fish): highlight $ punctuation.special 2025-04-15 14:24:15 +02:00
Peter Cardenas
54fc8e311c feat(fish): add variable.builtin highlights 2025-04-15 14:24:15 +02:00
AJ Delcimmuto
7bbed4b548
feat(brightscript): brightscript parser and queries (#7780) 2025-04-13 13:20:09 -07:00
Mikkel Mondrup Kristensen
0e21ee8df6
More bash injection support for Taskfile (#7805) 2025-04-07 21:08:22 +02:00
Anthony Fiddes
205faba176
feat(yaml): inject bash for taskfiles (#7804) 2025-04-06 19:09:27 +02:00
Maksim Terpilovskii
523a9e1489
fix(svelte): else if highlight (#7797) 2025-04-04 14:08:02 +02:00
Jakob Zahn
997288c552
fix(python): highlight all types of docstrings (#7788) 2025-04-03 09:35:41 +02:00
savanto
9df671fda4 dhall: recognize several missing builtins
- recognize builtin type `Bool`
- recognize import `... as Bytes`
- recognize builtin functions `Date/show`, `Time/show`, `TimeZone/show`
- recognize a bytes literal (ie. `0x"deadbeef"`)
2025-03-30 17:23:08 +02:00
Dennis van den Berg
aece106233 feat(angular): update highlights for template literals 2025-03-29 10:52:22 +01:00
Vladimir Levin
9399bfd816
feat(caddy): add parser and queries (#7588)
---------

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2025-03-23 16:04:41 +00:00
Robert Muir
652da0b40f
feat(javadoc): add parser and queries (#7749)
Previously java was configured to use doxygen parser for documentation
comments, but javadocs are not doxygen. Inline tags have a different
syntax, block tags are not recognized, and doxygen creates a lot of
errors during highlighting.

Add parser for javadoc comments, with queries for highlights and
injections.
2025-03-23 16:44:12 +01:00
nvim-treesitter-bot[bot]
b10436b9fb bot(lockfile): update gleam, glimmer_javascript, glimmer_typescript, lalrpop, problog, prolog, roc 2025-03-21 08:16:13 +00:00
dcho
bc728ecf25 Use order instead of priority 2025-03-21 08:58:45 +01:00
dcho
d0a56e3677 fix(python): prioritize builtin functions 2025-03-21 08:58:45 +01:00
Veesh Goldman
f09a2215b8
* feat(perl): highlight hash keys as @variable.member in various contexts
also, injections for s///e should fully re-parse
2025-03-19 09:48:48 +01:00
Riley Bruins
835f5c11b8 fix(c): highlight "." as @punctuation.delimiter
Aligns C with the other language highlights
2025-03-18 18:10:41 +01:00
John-Philip Taylor
da88ea477c
fix(vhdl): capture "|" as @operator (#7744) 2025-03-16 14:38:03 +01:00
Riley Bruins
99ea6c5d43 feat(typst): highlight language name as @label 2025-03-15 13:57:13 +01:00
Salomon Popp
683816f147
fix(python): don't highlight parameter name as builtin (#7732) 2025-03-13 09:21:55 +01:00
Caleb White
548ed98f8a
feat(blade): add laravel blade parser and queries (#7693) 2025-03-12 18:47:19 +01:00
Novus Nota
6d1a8e6fdb
feat(tact): update parser and queries (#7731) 2025-03-12 18:26:07 +01:00
Salomon Popp
1a314a58d6
fix(python): highlight function calls correctly (#7728) 2025-03-12 09:22:33 +01:00
Salomon Popp
cf0eabc16c
fix(python): don't highlight attribute name as builtin (#7712)
* fix(python): don't highlight attribute name as builtin

* fix(python): highlight `@variable.member` correctly for member access context

* test: add test

* test: expand test

* docs: update comment

* refactor: change order, remove priority override

* style: remove extra newline
2025-03-11 08:48:33 +01:00
Omar Valdez
833405d5a9
feat(bibtex): highlight URLs and DOIs (#7725) 2025-03-11 08:48:09 +01:00
Omar Valdez
38959800c2
fix(bibtex): use more appropriate captures (#7721) 2025-03-10 09:40:32 +01:00
Christian Clason
afe977dadd feat(roc)!: bump parser and queries
Adapt to https://github.com/faldor20/tree-sitter-roc/pull/30

Also synchronize queries with upstream and add indents
2025-03-09 19:26:47 +01:00
uncenter
f840ab9f72
feat(tera): add parser and queries 2025-03-09 18:44:59 +01:00
may
ffd284c470 fix(rust): inject regex into RegexBuilder instead of ByteRegexBuilder 2025-03-08 20:13:17 +01:00
ginnyTheCat
f0c17dc859
fix(rust): inject html and json in macro invocations (#7715) 2025-03-08 17:49:06 +00:00
Louis Pilfold
f22181a62c
feat(gleam): "echo" keyword (#7710) 2025-03-06 10:27:20 -08:00
patricorgi
16e8e19771
feat(snakemake): add rules to locals (#7698) 2025-03-06 18:47:57 +01:00
Riley Bruins
2b0760dca2 feat(jsx): commentstring query 2025-03-04 09:49:57 +01:00
Riley Bruins
1adcd57119 feat(markdown): fold sublists 2025-03-03 09:44:46 +01:00
nvim-treesitter-bot[bot]
99487eb34a bot(lockfile): update php, php_only, rust, v 2025-02-28 08:37:39 +00:00
Bert Baron
376a46ccec
feat(kdl): parser and queries (#7657) 2025-02-27 09:54:26 +01:00
Paul Hansen
28f76678ca
fix(kdl): highlight query order (#7688)
This just fixes the highlighting queries so everything
isn't highlighted as a variable due to the order of the queries
meaning several queries were ignored.

I also changed the node names to be highlighted as `@tag` since KDL is an
xml-like format so `@tag` seemed more appropriate than type and it differentiates it
from the type annotations.

This does NOT update to the latest KDL version 2, that would need
grammar changes. It does "mostly" work with
KDL 2 though (notably unquoted strings seem to throw the grammar off.).
2025-02-27 09:53:58 +01:00
Omar Valdez
00e797ea25 feat(typescript): highlight abstract methods 2025-02-27 09:53:22 +01:00
Andreas Hartmann
a83032cee1 feat(make): fold define statements. 2025-02-27 09:53:09 +01:00
Raafat Turki
8f87d28442
feat(sql): add folds (#7686) 2025-02-26 17:36:48 +01:00
Caleb White
081a99b3be feat(php): add support for new relative_name node 2025-02-26 17:01:57 +01:00
Christian Clason
93ce9feb4f feat(markdown): completely conceal codeblock fences on nightly
Required to make https://github.com/neovim/neovim/pull/31324 work with
nvim-treesitter.
2025-02-25 14:07:31 +01:00
Alex Manning
f0ff9f0e5d fix(gleam): indent on unqualified import rather than import 2025-02-25 11:20:39 +01:00
Andreas Hartmann
3b013b9ed4 feat(typst): add more folds
for the following language constructs:

- 'for' blocks
- 'if/else' expressions
- raw markup blocks (```)
- `content`
2025-02-25 11:18:08 +01:00