Commit graph

2492 commits

Author SHA1 Message Date
Santos Gallegos
8cf90f81a4 Rust: highlight loop labels
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1891
2021-10-01 22:33:49 +02:00
Santos Gallegos
f05f471185 Rust: fix some highlights
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1856
2021-10-01 19:05:19 +02:00
Vikas Raj
2d1c26a89d highlight description as a comment 2021-10-01 18:30:34 +02:00
Thomas Vigouroux
b12ab1d851 fix(vim): support syntax command and update parser 2021-10-01 08:24:58 +02:00
igorlfs
6e25164004 Fix #1853 2021-09-30 19:36:29 +02:00
Otto Modinos
99d4f72a5c feat(fennel): update parser and queries 2021-09-30 17:54:45 +02:00
Santos Gallegos
6714daf5ac
Vim: highlight setlocal (#1877)
This was just added some days ago.
2021-09-30 10:30:01 -05:00
Santos Gallegos
949ec04726 Vim: update highlights and injections 2021-09-27 21:13:13 +02:00
John Drouhard
e643eb5dbd cpp: highlight template method identifier as a method 2021-09-27 00:09:17 +02:00
Sergio Alejandro Vargas
eb3a09cb28 highlights(rust): Add colon : to delimiters 2021-09-26 12:24:48 +02:00
Sergio Alejandro Vargas
5ebc74c1a8 highlights(rust): fix bang ! in macro_invocation 2021-09-26 12:24:48 +02:00
Sergio Alejandro Vargas
0cd64db48f highlights(rust): Fix angle brackets, and closures
Highlight angle brackets in type parameters and bars in closures bars as
`@punctuation.bracket` not as `@operator`.
2021-09-26 12:24:48 +02:00
John Drouhard
536179c8e2 cpp: fix locals.scm from breaking change in tree-sitter-cpp 2021-09-26 11:20:09 +02:00
John Drouhard
662f3aaadd cpp: update lockfile.json and fix for breaking changes 2021-09-26 11:20:09 +02:00
Stephan Seitz
351eefd988 injections(teal): fix cdef injection 2021-09-25 00:59:40 +02:00
Stephan Seitz
b7c95eef95 injections(lua): fix cdef injection
Fixes #1840
2021-09-25 00:59:40 +02:00
Lucas Crownover
ec31c7efab "::" should be of type "operator"
swap constant for operator per treesitter recommendation
2021-09-21 01:08:32 +02:00
delphinus
2f37720c8a Separate special variables to catch up master 2021-09-21 01:08:32 +02:00
delphinus
0aaf937802 Use @string.regex to highlight regex's 2021-09-21 01:08:32 +02:00
delphinus
ae9a9d60f1 Add minimum implementation for highlights 2021-09-21 01:08:32 +02:00
mhoffm
09ad32c91b update hcl parser, update queries 2021-09-20 22:39:32 +02:00
maxxnino
f76737ee33 Zig queries: highlight, fold and indent
* fold for if/while/for
 * highlight "_" for ignore variable
 * highlight "c" for PtrTypeStart
 * highlight "?" for optional type
 * remove duplicate query node in indent
2021-09-20 11:46:24 +02:00
Stephan Seitz
18dc243188 highlights(c): add Mircosoft attributes 2021-09-19 20:02:28 +02:00
kghugo
d5e87dde10 Support hjson 2021-09-19 14:19:20 +02:00
Stephan Seitz
5fa6e27427 highlights(c): add __attribute__ 2021-09-19 14:13:50 +02:00
Joaquín León
02a0719424 Kotlin queries: Handle package statements 2021-09-18 00:13:19 +02:00
Santos Gallegos
8b7f70d366 Ecma: increase priority of template_substitution
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1688
2021-09-17 22:08:12 +02:00
Stephan Seitz
440d666b68 test 2021-09-17 22:03:47 +02:00
Stephan Seitz
37d93ec017 highlights(c/cpp): react to upstream changes to attributes 2021-09-17 22:03:47 +02:00
Stephan Seitz
1092b6ba3a highlights(cpp): add support for coroutines 2021-09-17 22:03:47 +02:00
Stephan Seitz
dea66fb4ce parsers: add glsl parser 2021-09-17 20:52:13 +02:00
Matthew Wynn
649a7e6fe6 indents(hcl): add more indentation rules for HCL 2021-09-16 22:26:48 +02:00
rydesun
85fec328d2 Update DOT injections
Add comment
2021-09-16 18:12:07 +02:00
Joakker
16a4da493c New kotlin parser 2021-09-15 12:47:03 +02:00
Ronnie Magatti
016c757d11 Address highlight comments about cwd, path, module 2021-09-14 21:36:55 +02:00
Ronnie Magatti
dcf20b8a23 Better differentiate 'keywords' 2021-09-14 21:36:55 +02:00
Otto Modinos
02350ab7da fix(fennel): update parser and all the queries 2021-09-10 22:24:25 +02:00
Uy Ha
d6c7996412 [cmake] add highlights for add_custom_target and add_custom_command 2021-09-10 21:11:38 +02:00
Uy Ha
25956f4274
[cmake] Add highlighting for boolean values (#1801)
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
2021-09-10 11:42:23 -05:00
Uy Ha
e31bba5d97 [cmake] add highlights for if command constant 2021-09-10 17:01:54 +02:00
Cédric Barreteau
5cc7358dd4 Update ledger injections 2021-09-10 01:24:38 +02:00
delphinus
331b47d246 Use the color of variable 2021-09-09 23:00:05 +02:00
delphinus
398ec42d30 Set property color for destructuring assignment 2021-09-09 23:00:05 +02:00
Uy Ha
16f4833b57 [cmake]: Add highlighting for set command 2021-09-09 22:57:22 +02:00
Uy Ha
a267604b8f Highlight function and macro declarations 2021-09-08 23:02:00 +02:00
Uy Ha
895706d081 Bind variable as @variable instead of variable_ref 2021-09-08 02:16:49 +02:00
Uy Ha
6fdbc7055d Bind function and macro commands as @keyword.function 2021-09-08 02:16:49 +02:00
Uy Ha
39526996ba Bind variable_ref as @variable instead of @none 2021-09-08 02:16:49 +02:00
Stevan Milic
8c105dedec Add scala folds 2021-09-04 04:36:30 +02:00
Stevan Milic
59f881fff8 Update scala highlights
* add highlights for imports

* add highlights for type constructors

* add highlights for constants

* add highlights for interpolation string

* add highlights for comments through injection
2021-09-04 04:36:30 +02:00