Commit graph

1188 commits

Author SHA1 Message Date
Graham Bates
e49396bee1 Add additional m68k queries 2022-04-27 16:54:38 +02:00
Graham Bates
fa6c6f3535 Use correct type for labels 2022-04-27 16:54:38 +02:00
Graham Bates
d0eb99cdee Remove query for interpolated macro arg
No `embedded` mapping available in nvim-treesitter. The previous query
to `variable.builtin` will work fine in this context too.
2022-04-27 16:54:38 +02:00
Graham Bates
7a01241ba6 feat: add m68k parser and queries 2022-04-27 16:54:38 +02:00
Michael Hoffmann
82e43748cf indent(hcl): fix function calls 2022-04-25 23:36:36 +02:00
Michael Hoffmann
b1e8b61a94 indents(hcl): fix indentation queries
This commit adds tests for hcl indentation and fixes various bugs
2022-04-24 18:57:30 +02:00
Tomas Sandven
6d072a6e54 Fix YANG indentation for extension statements 2022-04-23 15:49:53 +02:00
Tomas Sandven
71a4a13ed1 Add aligned indents for multi-line strings 2022-04-23 15:49:53 +02:00
Tomas Sandven
f51d4180c6 Add indent queries for YANG 2022-04-23 15:49:53 +02:00
Akin Sowemimo
eb0eb67bc5 fix(go): reduce indent after },) 2022-04-18 14:11:02 +02:00
Stephan Seitz
4542402e34 highlights(java): add support for text_blocks 2022-04-16 23:23:19 +02:00
Thomas Vigouroux
386f80e4d7 feat(vim): highlight unknown commands 2022-04-16 20:32:35 +02:00
Sergio Alejandro Vargas
394e7f8048 highlights(julia): Update literals
Add queries for:
- Character literals
- Escape sequences
- NaNs, Infs and missing

Remove highlight to identifiers in coefficient expressions.

Update other literals to match grammar.
2022-04-16 00:28:00 +02:00
Stephan Seitz
436d2ebe24 highlights(markdown): fix conceal capture 2022-04-15 18:47:53 +02:00
Stephan Seitz
f0398b7329 highlights(markdown): conceal link markers 2022-04-15 18:42:53 +02:00
Stephan Seitz
2bedaeb732 highlights(markdown): conceal emphasis_delimiter 2022-04-15 18:42:53 +02:00
Stephan Seitz
ade64b4459 highlights(markdown): add conceal to fenced code blocks 2022-04-15 18:42:53 +02:00
Christian Clason
db0e519291 latex: capture math env contents 2022-04-15 15:04:29 +02:00
Christian Clason
b2807559e3 julia: update queries to parser changes 2022-04-15 12:15:18 +02:00
Christian Clason
94f19cad29 latex: update queries
Make use of parser updates
* add `\{re}newenvironment`
* add `\DeclarePairedDelimiter{X}`
* add `\title` and `\author`
* add optional arguments to sectioning commands
* use builtin nodes for math environments
2022-04-14 12:02:20 +02:00
Himujjal Upadhyaya
0127bef03d svelte query and lockfile updated 2022-04-13 09:26:26 +02:00
Konrad Bochnia
cc83e23a2a fix: remove ftdetect, Fix struct highlight for wgsl 2022-04-11 23:16:19 +02:00
Konrad Bochnia
1a58c71b73 Add WGSL parser 2022-04-11 23:16:19 +02:00
kraftwerk28
93de9cc7a0 Add c injection for cgo comments 2022-04-11 10:52:34 +02:00
6cdh
7fffab173c Fix nvim-treesitter CI 2022-04-10 13:51:59 +02:00
6cdh
2ecb4022f4 Added folds, injections 2022-04-10 13:51:59 +02:00
6cdh
4fa6fd7725 Added scheme highlights 2022-04-10 13:51:59 +02:00
Stephan Seitz
a5728b36e4 highlights(json): highlight ":"
Fixes #2703
2022-04-10 12:51:09 +02:00
virchau13
e3adb39586 feat: add curly interpolation support for astro 2022-04-09 14:24:07 +02:00
Ferdinand Ratajczak
74a455c01e fixup! highlights(python): highlight exception keywords 2022-04-07 23:24:18 +02:00
Ferdinand Ratajczak
1fb68f76af highlights(python): highlight exception keywords 2022-04-07 23:24:18 +02:00
virchau13
f62fb16bba feat: add astro 2022-04-07 16:04:21 +02:00
Stephan Seitz
1031bb4769 highlights(hack): fix typo in "tuple" keyword
https://github.com/slackhq/tree-sitter-hack/pull/34
2022-04-06 22:30:44 +02:00
Jędrzej Boczar
717fef738b fix(indent/lua): wrong for nested tables due to branch on opening pairs 2022-04-06 21:28:11 +02:00
Connor Lay (Clay)
ab372a88ef Inject query into lua for set_query calls 2022-04-06 18:21:45 +02:00
adrian5
fa6031d81a highlights(bash): add more builtins 2022-04-04 18:52:14 +02:00
Stephan Seitz
bda4b35f76 indents(ecma): use auto indent on (ERROR)
Fixes #2515
2022-04-04 09:03:30 +02:00
Daniel Woznicki
e1f8a8a6f8 Fixed incorrect Java indentation for method chaining 2022-04-04 06:58:26 +02:00
Omer Tuchfeld
2472e47e15 Add highlighting query for Scss @for loops
The Scss language only had highlighting queries for `@each` loops, this
commit adds support for `@for` loops as well.

Also moved all loop-related keywords (including newly added ones) to
`@repeat` rather than `@keyword`
2022-04-03 15:29:13 +02:00
Oleksii Demennikov
7ae5d4f2c8 Added true/false to the highlights 2022-04-03 14:47:06 +02:00
Oleksii Demennikov
8dbe97afa2 Added injections 2022-04-03 14:47:06 +02:00
Oleksii Demennikov
00197398bd Added the initial version for the support of rego language 2022-04-03 14:47:06 +02:00
Stephan Seitz
b8d1c2445a highlights(python): "from" in yield should be @keyword.return
Fixes #2712
2022-04-01 17:00:21 +02:00
Stephan Seitz
4b9aec69bd highlights(fennel): fix "collect" "icollect" "accumulate"
They are now anonymous nodes.

Fixes #2707
2022-04-01 16:58:05 +02:00
Tobias Frilling
570ad70bbb refactor(queries): simplify highlight queries for elvish 2022-04-01 09:51:42 +02:00
Tobias Frilling
e06b54b64e Add elvish 2022-04-01 09:51:42 +02:00
Christian Clason
7e9c46b678 feat: add vimdoc parser and highlight queries 2022-03-29 18:25:23 +02:00
Pedro Castro
cf9faaa0e3 r(indents): fix brace_list alignment 2022-03-29 08:43:38 +02:00
Pedro Castro
3b974b7257 r(highlights): fix default_parameter 2022-03-28 22:21:25 +02:00
Pedro Castro
249cd3ac3e
r(highlights): add default parameter/argument (#2688)
* Update lockfile.json

* r(highlights): default argument/parameter and some updates
2022-03-28 21:17:28 +02:00