Sergio A. Vargas
3e10cffbb2
Julia outer keyword ( #6461 )
2024-04-17 20:59:37 +02:00
Colin Kennedy
037c6af78f
fix(python): captures inner string contents with spell
2024-04-17 04:23:55 +00:00
Riley Bruins
4c84b83108
fix(r): highlight comma separators
2024-04-16 23:03:20 -04:00
Liam Woodleigh-Hardinge
2a95ff1476
feat(wit): Add wit parser ( #6428 )
...
feat: Add injections.scm
fix: reverse order of matching
Co-authored-by: 再生花 <hoangtun0810@gmail.com>
fix: lua match for functions
doc: Resolve conflict
fix: Amend incorrect alphabetical order
2024-04-15 11:01:56 +00:00
Mark McCulloh
40e8c92f99
fix(wing): update to new repo ( #6446 )
2024-04-14 15:53:37 +00:00
Sergio A. Vargas
d2f4c78303
fix(julia): adapt queries to grammar changes ( #6429 )
2024-04-14 14:23:46 +02:00
Christian Clason
497208692f
fix(compile): add /utf-8 flag on win+cl
2024-04-14 14:08:51 +02:00
Christoph Sax
f22f024e78
feat(t32): update queries from upstream ( #6440 )
...
Adds support for new node type `elif_block`.
2024-04-14 12:58:21 +02:00
JoranHonig
3e1d836e0e
fix(solidity): adapt queries to parser changes
2024-04-13 20:04:38 +02:00
Dennis van den Berg
ef267f0c28
fix: add highlights for static member expression ( #6393 )
2024-04-12 14:11:01 +02:00
Gaëtan Lehmann
6ae470fd8f
feat: add earthfile parser ( #6395 )
...
---------
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-04-11 23:06:52 +02:00
Laytan
2bad828b48
fix(odin): updates queries from upstream ( #6425 )
2024-04-10 19:46:25 +09:00
Amaan Qureshi
3af2d894d4
fix(go): update queries from upstream
...
also bump templ to match
2024-04-10 11:07:30 +02:00
Amaan Qureshi
d90e11756d
fix(solidity): update queries from upstream ( #6424 )
2024-04-10 07:22:05 +00:00
Guilherme Soares
c16f66cca0
feat(java): add when operator ( #6420 )
2024-04-09 12:25:02 -07:00
Riley Bruins
e9321bb914
feat(nix): misc cleanups + comment injection ( #6418 )
...
* fix(nix): highlight strings within interpolations
* feat(nix): move `derivation` to function.builtin
* fix(nix): removes all `priority` workarounds
* feat(nix): arbitrary injections using `#` comments
2024-04-09 14:20:26 +09:00
neuromagus
46b587eb38
fix(c_sharp): highlight raw_string_literal
2024-04-08 17:54:47 -04:00
Amaan Qureshi
53c48a9229
fix(rust): update queries from upstream
2024-04-07 02:58:11 -04:00
David Guevara
e6cd337e30
fix(bash): fix printf injection queries ( #6405 )
2024-04-05 10:01:19 +02:00
Christian Clason
00debd1fb1
feat(lua): add exec_lua injection for nvim tests
2024-04-05 09:20:31 +02:00
ganhaque
1b050206e4
fix(rust): indentation in multi-line tuple pattern ( #6402 )
...
* fix(rust): indentation in multi-line tuple pattern
* test(indent): rust - add test for tuple pattern indent
2024-04-04 15:12:31 +00:00
Omar Zeghouani
8f444c9fcb
chore: update downstream fish highlights
2024-04-04 12:22:50 +02:00
ganhaque
5489e2150f
fix(rust): indentation in multi-line for expression
...
Fix indentation when the for loop expression is on multiple lines
Example:
previous:
```rust
for (
abc,
def
) in thing.iter() {
// ...
}
```
new:
```rust
for (
abc,
def
) in thing.iter() {
// ...
}
```
2024-04-04 09:50:27 +02:00
ganhaque
4d4b63692f
fix(rust): indentation in tuple type patterns
2024-04-04 09:50:27 +02:00
Stephan Seitz
cc0e29727a
highlights(cuda): add support for __managed__
...
See https://github.com/tree-sitter-grammars/tree-sitter-cuda/pull/68
2024-04-03 11:11:01 +02:00
Mitchell Hanberg
d31eb5442d
feat(elixir): add stab_clause to folds
2024-04-01 16:49:49 -04:00
Jonas Hietala
25ed904c75
feat(djot): update queries ( #6375 )
...
- Adjust some highlights to fit context better
- Conceal inline content
- Add locals
- Add folds
2024-04-01 13:42:12 +02:00
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