Commit graph

2492 commits

Author SHA1 Message Date
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
Riley Bruins
a0f18ee98c feat(markdown): highlight link label delimiter 2024-03-07 12:50:12 +02:00
Dennis van den Berg
212b7a504c
fix(angular): typo in capture name (#6249) 2024-03-04 13:05:53 +00:00
Charles
e479db627c
fix(sourcepawn) update queries to grammar change (#6247) 2024-03-04 09:33:25 +00:00
Phạm Huy Hoàng
63ca90eaa3 feat(swift): add will/didSet indent
Fixes CI error in PR.6237
2024-03-04 00:05:45 +09:00
Christian Clason
3d08cdd741 fix(comment): remove duplicate 'FIXME' 2024-03-03 16:03:26 +01:00
qvalentin
9e1f3c3369 feat: add gotemplate and helm parser support 2024-03-03 13:09:20 +01:00
Omar Valdez
00bd760a0e
feat(csharp): highlight excape sequences (#6229) 2024-03-03 11:24:46 +01:00
Christian Clason
99ddf57353
feat(highlights)!: enforce documented captures (#6232)
Problem: Allowing undocumented "secret" (sub)captures makes it harder
to write comprehensive colorschemes and catch inconsistent captures.

Solution: Only allow captures listed in CONTRIBUTING.md. Add useful
(cross-language) subcaptures and drop language-specific or too niche
ones.

Follow-up: Adding further `*.builtin` captures and changing queries to
use them.

Language-specific subcaptures should instead be added in user config or
a custom language plugin.
2024-03-03 11:00:11 +01:00
Christian Clason
ada920f2a4
feat(vue): switch to new parser (#6233)
* feat(vue): switch to new parser

---------

Co-authored-by: Phạm Huy Hoàng <hoangtun0810@gmail.com>
2024-03-02 16:54:16 +01:00
Riley Bruins
8e349b1ea9 feat(gitcommit): highlight overflow in commit body 2024-03-01 08:30:00 +01:00
Phạm Huy Hoàng
62b0bb4f24 feat(format): extra newline after modeline 2024-02-29 23:05:30 +09:00
GodOfAvacyn
06b5fda797
feat: add support for gdshader (#6153)
Godot shading language

---------

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-02-29 11:30:33 +01:00
Christian Clason
c5b19f66e0 fix(typst): adapt queries to breaking parser update 2024-02-28 20:01:01 +01:00
Phạm Huy Hoàng
15d521c923 fix(purescript): comment out utf-8 char 2024-02-28 15:55:15 +01:00
Riley Bruins
18aa5ae3fd feat(c): local label highlights 2024-02-26 07:41:41 -05:00
Amaan Qureshi
6f1f407d71 feat(rust): add more regex injection queries 2024-02-25 09:05:08 -05:00