Commit graph

2408 commits

Author SHA1 Message Date
Riley Bruins
0bfa0be5e4 fix(nix): highlight ellipsis as builtin parameter
This maintains consistency with a lot of other languages that also have
ellipses as parameter types, which we typically highlight as
`@variable.parameter.builtin`
2024-04-01 11:39:38 +02:00
Riley Bruins
3c996dc9fa feat(nix): misc. operator/punctuation highlights 2024-04-01 11:39:38 +02:00
nat-418
905fedfa28 feat(roc): add new parser tree-sitter-roc 2024-04-01 11:19:45 +02:00
nvim-treesitter-bot[bot]
1d1d92e94a bot(lockfile): update djot, snakemake, v 2024-03-31 14:32:41 +00:00
Oliver Thomas
6e0b031ebb feat(snakemake): add indentation queries 2024-03-30 12:46:43 +01:00
nvim-treesitter-bot[bot]
5127a84407 bot(lockfile): update beancount, liquid, ocaml, ocaml_interface, v, vento, wing 2024-03-30 11:16:35 +00:00
vsajko
c65413f2ac
fix(python): add staticmethod to builtin decorators 2024-03-30 01:30:13 +02:00
Hank Jackson
f84887230a
feat(liquid): add new parser tree-sitter-liquid (#6359)
(templating language)
2024-03-29 09:47:26 +01:00
Jaehwang Jung
07a404570f fix(c): don't highlight preproc_arg
`preproc_arg` is used for the body of `#define` macro definition, which
is not appropriate to highlight with `@function.macro`. In addition,
this region has an injection to C, so it will get highlights anyway.
2024-03-27 14:48:11 +01:00
Caleb White
aa8d8bc600 fix(php): capture break as keyword.repeat 2024-03-27 08:29:44 +01:00
Caleb White
ac1742436c chore(php): move keywords to top of queries 2024-03-27 08:29:44 +01:00
Caleb White
7d938c1c72 fix(php): fix use_{as,instead_of}_clause highlights 2024-03-27 08:29:44 +01:00
Caleb White
1c9a94bd60 fix(php): add missing keyword highlights, fix static keyword 2024-03-27 08:29:44 +01:00
Caleb White
3400788705 feat(php): add highlight tests 2024-03-27 08:29:44 +01:00
Christian Degnbol Madsen
839dec615a feat(julia): broadcast pipe
Add support for capturing function call after a broadcasted pipe.
Currently works for unbroadcasted pipe.
There might be a better more complicated way to do this, since this will capture the broadcasting dot as part of the `@_pipe` capture.
2024-03-26 22:57:50 -04:00
Amaan Qureshi
3d473a4d5d fix(rust): indentation in tuple struct patterns 2024-03-26 22:34:53 -04:00
Riley Bruins
7f31793159
feat(markdown): yaml, toml metadata highlights (#6360) 2024-03-26 17:19:51 +02:00
Wojciech Kulik
aa31b8d4cc fix(swift): highlights 2024-03-25 18:49:52 +01:00
datwaft
965f2e7239 style: format query 2024-03-25 10:57:51 +02:00
datwaft
7051a72755 feat(lua): add injections for vim.filetype.add 2024-03-25 10:57:51 +02:00
michaelPotter
aa6323e834 feat(bash): align substitutions with expansions
The bash manual[1] considers command and process substitutions to be
forms of expansions, so they should be highlighted the same as other
expansions. This is traditionally how they have been highlighted in the
past too.

[1] https://www.gnu.org/software/bash/manual/html_node/Shell-Expansions.html
2024-03-24 20:53:58 -04:00
Noah Bogart
2205694d43 feat: add djot support (#6326)
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-03-22 09:02:35 +01:00
Phạm Huy Hoàng
722617e672 refactor(format): drop extra indentation for field 2024-03-21 15:51:26 +01:00
Amaan Qureshi
c28396de30 feat(rust): improve indents 2024-03-21 06:48:53 -04:00
Tomas Sandven
cf685ce85f Add "just" parser 2024-03-21 10:32:09 +01:00
Amaan Qureshi
4d76587eec fix(rust): dedent on macro definition end 2024-03-20 19:22:23 -04:00
Levi
3686029591
fix(graphql): end indent after block 2024-03-21 00:00:44 +09:00
Omar Valdez
93a9632b63 feat(sql): highlight fields in column definition 2024-03-20 12:06:16 +01:00
Noah
03f650705c
Update Clojure highlights to be metadata aware (#6213) 2024-03-19 22:10:41 +01:00
Matthew Taylor
2014f8285e
feat: add vento support (#6261) 2024-03-18 10:00:22 +01:00
gi1242
6a2572c9ed fix(latex): Fold \iffalse..\fi comments 2024-03-17 19:46:21 -04:00
NTBBloodbath
c4e0f290d7 feat(http): switch to new parser version
fix(http): use `@variable.member` for fields

fix(http): keep the comment injection

fix(http): keep `method` capture as `@function.method`

docs(README.md): update HTTP parser maintainers list

feat(http): remove redundant captures

cleanup(http): remove unneedeed highlighting captures
2024-03-18 00:46:59 +02:00
Caleb White
143ca5ce17
feat(php): improve indents in return statements & chained methods 2024-03-16 20:50:13 -04:00
Luckas
df3e6a24ac feat(hyprlang): add bash injections 2024-03-16 20:47:03 -04:00
Riley Bruins
3c7a0e9d94 feat(rust): move pub to @keyword.modifier
Also consolidates most of the captures
2024-03-16 20:45:29 -04:00
ObserverOfTime
5b8458c5aa fix(htmldjango): update highlights 2024-03-16 14:40:59 +00:00
Jaehwang Jung
f5062ebc8d feat(verilog): @keyword.modifier for lifetime 2024-03-16 20:51:16 +08:00
Jaehwang Jung
8f5513a1f2 feat(rust,lalrpop): @attribute for lifetimes
`@keyword` is only for language-defined keywords.
2024-03-16 20:51:16 +08:00
Jaehwang Jung
5d75359a9a feat(highlights)!: remove non-keyword @type.qualifier
* blueprint: Don't specially highlight template_name_qualifier. This is
  similar to inheritance base class. Other languages don't highlight
  them specially.
* eds: `@type` for all `*Type` keys
* chatito: `@attribute` for variation
2024-03-16 20:51:16 +08:00
Jaehwang Jung
dccf31f9b1 feat(highlights)!: @keyword.storage@keyword.modifier 2024-03-16 20:51:16 +08:00
Jaehwang Jung
998b230a77 feat(highlights)!: keyword @type.qualifier@keyword.modifier 2024-03-16 20:51:16 +08:00
Luckas
904f373fc4
feat(dot): add indents queries
* feat(dot): add indents queries

* add: tests

* fix: test
2024-03-15 09:18:33 +09:00
Christian Clason
3ae78f376c fix(vimdoc): adapt to breaking Neovim change
Problem:
cb46f6e467 (diff-edf997b0c2d42d31828800641ac1f5a46487fe24a0d46ccf70bcd58a14f3868f)
introduced a regression on how `#set!` behaves with several matches in a
single pattern, breaking conceals in, e.g., taglinks.

Solution: Separate taglink etc. patterns into concealed marker and
contents. Also add URL support for concealed markdown links.
2024-03-14 18:54:22 +08:00
Mark Skelton
35c1a32b26
* feat(ecma): styled injection for css and keyframes 2024-03-13 23:02:55 +09:00
ObserverOfTime
6576041660 feat(vimdoc): highlight modeline 2024-03-13 11:09:54 +08:00
再生花
e73c775aa9 feat(swift): add init/deinit indents
Signed-off-by: Phạm Huy Hoàng <hoangtun0810@gmail.com>
2024-03-13 11:09:42 +08:00
Tobias S
9d39f00a95
fix(php): highlight property access using nullsafe operator, move @property to @variable.member 2024-03-11 18:07:15 -04:00
Chad Condon
b781fd0582
fix(c): improve doxygen comment matching (#6278) 2024-03-11 19:02:53 +02:00
Christian Clason
b4553bef58 fix(nickel): update highlights to grammar change 2024-03-08 12:38:27 +01:00
Kai Moschcau
9775d5d7c7
fix(luadoc): @nospell identifiers and keywords 2024-03-07 12:52:02 +02:00