Commit graph

1547 commits

Author SHA1 Message Date
figsoda
90edaba46a highlights(nix): add all builtins 2022-12-23 13:08:05 +01:00
figsoda
df67a47a7e highlights(nix): improve highlights 2022-12-23 13:08:05 +01:00
figsoda
a851cef248 injections(nix): fix runCommand* 2022-12-23 13:08:05 +01:00
Sergio A. Vargas
82cff67988
julia: update parser and highlights (#4016)
- Replace `scoped_identifier` with `field_expression` in function names
- Replace true and false with `boolean_literal`
2022-12-23 10:34:24 +01:00
Lucario387
eaeedfb804 Fix vue injection queries 2022-12-22 17:43:44 +01:00
Emmanuel Briot
23906e8838 feat: add Ada 2022-12-22 14:46:53 +01:00
Stephan Seitz
779b4222a3 injections(go): inject regex into some regexp functions 2022-12-22 10:12:14 +01:00
xasc
2d48cbc831 feat(t32): initial support 2022-12-21 23:57:06 +01:00
figsoda
d2d8980c5c injections(yaml): fix injections 2022-12-21 23:38:07 +01:00
Christian Clason
eedb7b9c69 csharp: update query to parser change 2022-12-20 08:35:20 +01:00
Josef Litoš
a75aded7ae highlights(java): fix '!',param,global group 2022-12-19 00:03:18 +02:00
Jaehwang Jung
a0dc6c8635 highlights(lua): use @method.call 2022-12-15 12:42:51 +01:00
Sergio A. Vargas
d31c71c959
julia: update queries to parser change (#3956) 2022-12-14 09:06:08 +01:00
Uy Ha
69388e84c3 add queries project and cmake_minimum_required 2022-12-13 21:17:48 +01:00
Uy Ha
3ac093e702 remove redundant parentheses 2022-12-13 21:17:48 +01:00
Uy Ha
320804c4f1 bind ENV and CACHE as @storageclass 2022-12-13 21:17:48 +01:00
Uy Ha
9508e2188f add OUTPUT_VARIABLE query for list TRANSFORM 2022-12-13 21:17:48 +01:00
Uy Ha
322d723c89 rearrange queries, include all builtin commands in one query 2022-12-13 21:17:48 +01:00
Uy Ha
380287745e add highlight for list command 2022-12-13 21:17:48 +01:00
Uy Ha
15ee2cb240 add highlight for unset command 2022-12-13 21:17:48 +01:00
Uy Ha
d1f8e102e5 add queries for block, return, break, continue, and include 2022-12-13 21:17:48 +01:00
Uy Ha
134d5bee6e feat(cmake): add block_def to fold 2022-12-13 21:17:48 +01:00
Ananda Umamil
1d6e1354b7 highlights(typescript): add module keyword 2022-12-13 21:10:26 +01:00
gbprod
fbc2ce9d65
feat(php): improve indents for match and switch (#3953) 2022-12-09 22:07:05 +01:00
Benedikt Reinartz
84261c67fc
feat(erlang)!: switch parser to maintained fork (#3791)
update queries to breaking changes
2022-12-08 19:40:41 +01:00
david-pikas
caa28be705
latex: @nospell for environment names, citations and commands (#3948)
* Added @nospell for environment names and commands

* Added citations to @nospell

Co-authored-by: David Pikas <David.Pikas@iar.com>
2022-12-08 11:01:56 +01:00
Raymond Ha
6c4772f7b6 indents(ecma): Fix switch default indent 2022-12-07 18:05:33 +01:00
gbprod
56cabb6435 fix(php): add missing php fold query 2022-12-06 10:58:45 +01:00
Stephan Seitz
e71dfc1e7a highlights(go): add @label 2022-12-04 11:56:40 +01:00
Christian Clason
360315540c fix(julia): update queries to parser change 2022-12-03 12:00:27 +01:00
Stephan Seitz
d6a2ecb8b7 highlights: create subscoping for ternary operator
After https://github.com/nvim-treesitter/nvim-treesitter/issues/470,
we decided to use `@conditional` for ternary operator instead of
operator despite `@conditional` is documented for keywords only.
A sub-scoping can make it easier for people to highlight this operator
group differently.

Also unify the usage of `@conditional...` across languages.
2022-12-02 21:42:11 +01:00
Folke Lemaitre
39bda37d4a feat: added highlights for markdown checkboxes 2022-12-02 18:02:16 +01:00
Aaron Rancsik
4e21b50fbd highlights(cpp): auto as @type.builtin 2022-12-01 15:08:07 +01:00
Aaron Rancsik
4b99343d6e highlights(c): primitive type as builtin 2022-12-01 15:08:07 +01:00
gbprod
4b90052704 feat(twig): improve twig highlights 2022-11-30 12:35:54 +01:00
Ibrahim Abdelkareem
a1929ef139 feat: c# required keyword 2022-11-29 19:24:35 +01:00
Pedro Castro
161576dde2 indents(r): support special operator
Close #3879
2022-11-29 19:23:09 +01:00
gbprod
31f70f51c7 fix(phpdoc): highlight optional type as @type 2022-11-29 12:19:19 +01:00
ObserverOfTime
e973a5cbb2 injections(julia): add markdown 2022-11-27 17:35:10 +01:00
ObserverOfTime
9018fb26cc injections: add more regex injections 2022-11-27 17:35:10 +01:00
ObserverOfTime
14fa6e015e highlights(python): fix captures 2022-11-26 13:17:51 +02:00
ObserverOfTime
6725bef5ce highlights(hack): fix captures 2022-11-26 13:17:51 +02:00
ObserverOfTime
bedc763361 highlights(meson): fix captures
Co-Authored-By: ShootingStarDragons <ShootingStarDragons@protonmail.com>
2022-11-26 13:17:51 +02:00
ObserverOfTime
58940a5589 highlights(julia): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
1da0a88ebc highlights(haskell): fix captures 2022-11-26 13:17:51 +02:00
ObserverOfTime
d0b9afe9f6 highlights(java): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
a16499f584 highlights(kotlin): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
ae51bc0638 highlights(llvm): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
e3f376ed67 highlights(make): fix captures 2022-11-26 13:17:51 +02:00
ObserverOfTime
8d598de022 highlights(ocaml): use more specific groups 2022-11-26 13:17:51 +02:00