Thomas Vigouroux
ea8d8bbef0
feat(vim): update to latest highlights
2022-08-23 14:28:36 +02:00
Sergio Alejandro Vargas
fb6d60c7b9
highlights(ecma): Update queries for literals
...
- Add queries for value properties:
- undefined
- NaN
- Infinity
- Highlight regex delimiters as brackets instead of punctuation
- Format queries for literals
2022-08-22 15:51:08 -07:00
anthony-S93
bc9792298c
Modified queries/java/highlights.scm
2022-08-22 07:40:51 -07:00
GitHub
9dd1065ebe
highlights(javascript): "?." -> optional_chain
2022-08-20 10:42:19 +02:00
Stephan Seitz
29cf3fe42a
parsers: add HLSL
2022-08-19 15:05:33 -07:00
Christian Clason
11e88f698a
update vim parser and queries
2022-08-17 11:17:55 +02:00
Stephan Seitz
b245c44ce1
parsers: add tree-sitter-gitignore
2022-08-16 23:16:44 -07:00
Stephan Seitz
24db489566
highlights(swift): add keywords "convenience", "required", "override"
2022-08-16 11:39:30 -07:00
Stephan Seitz
bb1c6c2475
highlights(swift): add keywords "actor", "nonisolated"
...
Introduced in 07bdffb5e6
2022-08-16 11:39:30 -07:00
ShootingStarDragons
c5eed2f2cd
fix wrong parse
...
change maintainers
2022-08-16 11:38:50 -07:00
ShootingStarDragons
25baab9f59
add regenerate the treesitter
2022-08-16 11:38:50 -07:00
ShootingStarDragons
a773660882
add highlights
2022-08-16 11:38:50 -07:00
Stephan Seitz
0c807bf1fd
highlights(ql): follow upstream refactor of qualModuleExpr
...
13155b740d
2022-08-15 14:53:57 -07:00
Stephan Seitz
d1ce3db8ea
indents(go): no indent at all composite_literal, indent at struct_type
2022-08-15 13:34:16 -07:00
Zheng Piaodan
48d88ddbff
fix(ruby): indent of brackets & parens
2022-08-13 03:40:17 -07:00
Zheng Piaodan
65a1817ba3
fix(ruby): indent parenthesized_statements
2022-08-13 03:40:17 -07:00
Ben Weedon
cea9c5941d
Conceal reference and shortcut links in markdown
...
This change conceals `full_reference_link`, `collapsed_reference_link`,
and `shortcut_link` similarly to the `markdown_inline` query file
already conceals `inline_link` and `image`.
## Test markdown contents
```markdown
Some text before the link [full reference link text][link label] and now some
text after the link onto a new line.
Some text before the link [collapsed reference link text][] and now some text
after the link onto a new line.
Some text before the link [shortcut link text] and now some text after the link
onto a new line.
```
## Test markdown concealed screenshot
Closes #3267
2022-08-11 14:36:44 -07:00
phynalle
54de8afbed
fix(zig): Do not indent on newline after block
2022-08-08 14:07:30 -07:00
Stephan Seitz
f68a1b16ce
injections(go): avoid running queries on all comments
...
Fixes #3187
Fixes #3263
2022-08-06 05:37:14 -07:00
ray-x
373b15ecee
go folds.scm composit_literal
2022-08-05 13:36:57 -07:00
Stephan Seitz
27424a2040
indents(go): improve @branch rules
...
- Don't branch at `case`
- Let `import_spec_list`/`var_declaration` behave like
`const_declaration`
Fixes #2166
2022-08-05 12:32:20 -07:00
derekstride
3832fde3ee
SQL highlight queries rely on latest parser AST
2022-08-05 21:20:11 +02:00
lfenzo
c784720917
Split func/method definition from calls in several programming language queries
2022-08-03 12:05:30 -07:00
lfenzo
0014e52e2d
Split func/method definition from calls in lotlin highlighting queries
2022-08-03 12:05:30 -07:00
lfenzo
2f9ae24ffa
Split func/method definition from calls in Go highlighting queries
2022-08-03 12:05:30 -07:00
lfenzo
576287ac84
Split func/method definition from calls in C++ highlighting queries
2022-08-03 12:05:30 -07:00
lfenzo
04e62a2027
Split func/method definition from calls in C highlighting queries
2022-08-03 12:05:30 -07:00
lfenzo
140393cfff
Split func/method definition from calls in julia highlighting query
2022-08-03 12:05:30 -07:00
lfenzo
ae87408513
Split func/method definition from calls in python highlighting query
2022-08-03 12:05:30 -07:00
6cdh
d642de92f7
Add racket support
2022-08-03 00:25:14 +02:00
ShootingStarDragons
3d476b3edb
other folds added
2022-08-03 00:19:02 +02:00
ShootingStarDragons
d4786db62e
change tab to space
2022-08-03 00:19:02 +02:00
ShootingStarDragons
a919ea79e5
add folds.scm
2022-08-03 00:19:02 +02:00
Stephan Seitz
f9176e560c
highlights(c/cpp): move attributes to C (again)
...
Let's hope that this time the C tests pass, also for the built-in C
parser.
2022-07-28 08:24:51 +02:00
Matty Patatty
36ee4890c4
highlights(php): highlight more string types and escapes ( #3226 )
2022-07-27 07:48:01 +00:00
Andy Freeland
0d0949683d
Support TOML metadata in Markdown injections
...
Hugo, Zola, and likely other static site generators use `+++` for TOML,
not YAML.
2022-07-25 21:28:40 +02:00
Kiyan
d7f06bfb13
fix(indents): indents for error block (css, lua) ( #3207 )
2022-07-21 13:48:03 +02:00
mliszcz
71395d90c0
highlights(c): Lower the priority of @variable
...
Lower the priority of @variable to prefer @parameter
highlight when identifier appears in parameter_declaration.
Fixes #3061
2022-07-20 17:10:51 +02:00
Oliver Marshall
78c8c9a255
Change to using an explicit list of "def-likes" for clojure ( #3202 )
2022-07-20 10:42:30 +00:00
Access
acd4821bc1
add ui_binding to fold ( #3191 )
2022-07-17 15:12:19 +02:00
Stephan Seitz
aabae39294
highlights(julia): add "mutable" keyword
2022-07-16 13:37:59 +02:00
kiyan
3bd228781b
fix: disable elm parser in markdown to avoid segfault
...
the Elm parser segfaults when injected in markdown. Disable it for now.
See https://github.com/elm-tooling/tree-sitter-elm/issues/124
2022-07-15 12:08:58 +02:00
Robert Liebowitz
97a0322c63
Highlight sql comments ( #3178 )
2022-07-14 14:07:10 +00:00
Andrew Helwer
b46cb0389d
Updated queries and parser version
2022-07-13 21:33:45 +02:00
Access
d4eadbcaf1
Fix and add some highlight ( #3168 )
2022-07-12 11:10:08 +02:00
Viorel Craescu
6f1bf2feec
add go1.18 any type
2022-07-10 14:53:27 +02:00
Viorel Craescu
2f340af135
remove type definition
2022-07-09 21:18:03 +02:00
Viorel Craescu
eb3f263bfe
add type def highlight, add field declaration highlight and remove constant highlight
2022-07-09 21:18:03 +02:00
Princeton Ferro
f3c309db4e
feat(vala)!: switch to @vala-lang parser
2022-07-09 16:22:51 +02:00
Viorel Craescu
32e033a8f5
add method spec highlight and block folds ( #3151 )
2022-07-09 11:35:10 +00:00