Grzegorz Milka
d02caad890
ledger: update highlights
...
I have updated the highlights in the upstream repo in
941bbf6098 .
2021-04-15 10:15:29 +02:00
Stephan Seitz
eb742e304a
locals(Go): add namespace definition for import_spec_list
...
This would define `foo`
```go
import (
foo "fmt"
)
```
2021-04-13 13:34:57 +02:00
Santos Gallegos
2a946ddc7e
Query: update highlights ( #1175 )
2021-04-10 15:18:44 -05:00
Stephan Seitz
7e9e8f2af9
Add support for Java records
...
Ref: https://github.com/tree-sitter/tree-sitter-java/pull/73
2021-04-10 12:27:54 +02:00
Santos Gallegos
c3603ddad1
Yaml: update locals ( #1172 )
...
The parser doesn't break the symbols in `*` `&` from the name of
anchors/aliases. So go to definition doesn't work, but highlight of
usage does :D
Test with
```yaml
Defaults: &defaults
Company: foo
Item: 123
Computer:
<<: *defaults
<<: *defaults
Price: 3000
```
Ref https://github.com/nvim-treesitter/nvim-treesitter-refactor/issues/18
2021-04-09 19:36:19 -05:00
elianiva
ffbf8f19a4
feat: add scss injection for svelte/vue
2021-04-08 22:50:41 +02:00
elianiva
8ac8f2c39b
feat: add scss parser
2021-04-08 22:50:41 +02:00
Stephan Seitz
f8314a4df3
highlights(go): Highlight const_declaration
...
Fixes #1157
2021-04-07 13:03:44 +02:00
NullVoxPopuli
6df2368242
Update highlights.scm
2021-04-07 05:33:51 +02:00
Stephan Seitz
099b921542
injections(js): add regex highlighting
2021-04-06 21:27:47 +02:00
Stephan Seitz
853caf5b3d
highlights(rust): Add operator "?"
2021-04-06 19:50:23 +02:00
Santos Gallegos
4bfccba843
Comment: highlight text nodes
...
As requested in https://github.com/nvim-treesitter/nvim-treesitter/issues/236#issuecomment-797878646
2021-04-03 10:48:09 +02:00
Himujjal
0b2ec9d266
improved zig grammar and queries
2021-04-02 03:29:21 +02:00
Himujjal
83bfcde7c2
fixed some errors
2021-04-02 03:29:21 +02:00
kiyan
8948c331ee
fix: jsx indent query
2021-04-01 20:50:25 +02:00
Stephan Seitz
4821bde80a
Import highlights.scm from tree-sitter-zig
2021-03-30 22:27:50 +02:00
Stephan Seitz
c7313ffd10
Fix beancount queries
2021-03-30 22:27:50 +02:00
Stephan Seitz
712cc78a1e
Add text.reference and text.environment
2021-03-30 19:26:37 +02:00
Stephan Seitz
0556edf5f3
latex: add TSMath that behaves like vimtex math highlighting
2021-03-30 19:26:37 +02:00
Stephan Seitz
ea8c3b2850
feat: Add Latex basic highlights and folds
...
Fix #1104
2021-03-30 19:26:37 +02:00
Santos Gallegos
0df7c4aa39
Fix jsdoc: play nice with the comment parser ( #1108 )
...
Using separate queries makes it work as expected.
Also, for the comment parser to be able to override the other tokens
we need to remove the comment from highlights (this shouldn't be a
problem since that section is already highlighted as a comment).
And, the order of the captures matter,
having jsdoc first will have more priority over `@param`.
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1069
2021-03-27 10:51:16 -05:00
Stephan Seitz
edcac596ce
highlights(rust): Highlight dereferenced closure parameters
2021-03-26 20:12:38 +01:00
Stephan Seitz
2331a36693
highlights(java): Highlight fields (members and member access) ( #1107 )
2021-03-26 13:25:28 -05:00
kraftwerk28
09045354c0
Add generator functions to ecma queries
2021-03-23 23:37:11 +01:00
Corey Williamson
548a0d8d7f
Update teal highlights
2021-03-23 22:20:30 +01:00
Himujjal
597ec69378
Added Zig grammar
2021-03-23 12:36:34 +01:00
Christian Clason
ebdd43b68d
add basic queries for bibtex
2021-03-22 22:19:10 +01:00
shirasaka
71e3391a8c
Add indents for php
2021-03-22 18:02:10 +01:00
Brian Ryall
600509aad6
delete locals queries for beancount
2021-03-22 07:11:10 +01:00
Brian Ryall
900222e1ad
fix invalid annotation in beancount query
2021-03-22 07:11:10 +01:00
Brian Ryall
fb75f01941
add support for beancount files
2021-03-22 07:11:10 +01:00
Yuki Ito
0c12ff67fe
rust: tread , as a punctuation delimiter
2021-03-22 07:07:27 +01:00
Tormod Alf Try Tufteland
db67f5e517
attribute in stead of annotation
2021-03-20 17:52:07 +01:00
Tormod Alf Try Tufteland
8b4b07c55b
kotlin: updated parser, and added annotation highlight again
2021-03-20 17:52:07 +01:00
Yuki Ito
b818ace315
go: add builtin types
2021-03-19 13:48:24 +01:00
Hanh Le
5f97c41c54
Update injections.scm
2021-03-18 18:37:04 +01:00
NullVoxPopuli
76c1cab7ab
Update glimmer queries from plugin
...
Maybe there is a way to read this file from the plugin directly?
2021-03-18 04:03:53 +01:00
Stephan Seitz
2cd1eb6e2a
Update Kotlin parser
2021-03-16 18:52:43 +01:00
Stephan Seitz
acbb453f57
Update verilog to 0.19.2
2021-03-16 18:52:43 +01:00
Stephan Seitz
cb14ffa103
highlights(query): Add modeline query after bugfix
2021-03-16 18:52:43 +01:00
Stephan Seitz
f455980b69
Re-add OCaml query that lead to crash before tree-sitter fix
...
Ref: https://github.com/tree-sitter/tree-sitter/issues/968#issuecomment-792932744
2021-03-16 18:52:43 +01:00
Stephan Seitz
0894b5d0bd
Fix C++ locals
2021-03-16 18:52:43 +01:00
Stephan Seitz
fac9fef397
Update jsonc to 0.19.0
2021-03-16 18:52:43 +01:00
Stephan Seitz
49f2b33687
Fix fennel queries
2021-03-16 18:52:43 +01:00
Stephan Seitz
6cf578084d
Remove invalid dart query
2021-03-16 18:52:43 +01:00
Stephan Seitz
6cd211f647
Mark several invalid queries
2021-03-16 18:52:43 +01:00
Stephan Seitz
e3a863bd1c
Fix readonly keyword in typescript
2021-03-16 18:52:43 +01:00
Stephan Seitz
c7e8f76f3c
Fix invalid node type in CSS queries
2021-03-16 18:52:43 +01:00
Stephan Seitz
080b6476fe
Fix ocaml queries
2021-03-16 18:52:43 +01:00
Stephan Seitz
532a369b32
Mark parsers with NPM dependency
2021-03-16 18:52:43 +01:00