Amaan Qureshi
6f8387f05d
fix(rust): add foreign_mod_item to folds
2023-10-30 04:30:30 -04:00
GitHub
f9c422a121
Update parsers: gleam, strace, wing
2023-10-30 09:13:16 +01:00
Veesh Goldman
c36681bb49
feat: bump perl
2023-10-29 20:56:01 +01:00
Ronan Arraes Jardim Chagas
d2fe87062d
Add more tests for assignments
2023-10-29 01:37:31 +02:00
Ronan Arraes Jardim Chagas
a741b5dd0d
Improve curly expression alignment
2023-10-29 01:37:31 +02:00
Ronan Arraes Jardim Chagas
3d6c0af936
Fix tests
2023-10-29 01:37:31 +02:00
Ronan Arraes Jardim Chagas
fc3bfd8f89
Add initial tests for Julia language indentation
2023-10-29 01:37:31 +02:00
Ronan Arraes Jardim Chagas
639c22c52c
Improve indentation in Julia language
...
This commit improves the indentation in the function declaration,
function call, and in the assignment expressions.
2023-10-29 01:37:31 +02:00
GitHub
bf0a96568a
Update parsers: gitattributes, t32, wing
2023-10-27 23:04:54 +09:00
Ronan Arraes Jardim Chagas
a07ce2155b
Fix indent. of curly expressions and of ],} in BOL ( #5580 )
2023-10-27 21:53:58 +09:00
Ronan Arraes Jardim Chagas
1e58a81450
Fix Julia indentation after end and with parenthesis at the beginning of line ( #5579 )
2023-10-27 12:28:44 +00:00
ObserverOfTime
3954741f26
chore(sql): add scanner
2023-10-26 14:48:05 -07:00
GitHub
2e6961ff9d
Update parsers: glsl, perl, php, sql, t32, wing
2023-10-26 14:48:05 -07:00
Pham Huy Hoang
107e61afb7
refactor: Remove all (ERROR) @error captures
...
As discussed in PR#5421, capturing `@error` is inconsistent, requiring
deep nesting (or priority) in order to correctly have red backgrounds to
it.
Some queries has this capture, some don't. For consistency purposes,
removing all of them is more preferable.
For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)`
to your custom queries.
2023-10-25 18:18:50 +02:00
GitHub
44762abc90
Update parsers: kotlin, wing
2023-10-25 16:44:10 +09:00
Github Actions
4199be485c
Update README
2023-10-24 09:51:50 +02:00
Teddytrombone
16af5ef490
feat(typoscript) Added parser and queries for TypoScript ( #5564 )
...
* Added configuration for TypoScript
* Removed duplicated code; Applied folding suggestion
* Applied suggestions
* Update queries/typoscript/highlights.scm
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
---------
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-10-24 07:48:33 +00:00
github-actions[bot]
9dca0a176d
Update parsers: liquidsoap, wing ( #5568 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-10-24 07:16:19 +00:00
Riley Bruins
74ea25f95d
feat(lua): highlight variadic expressions as builtin parameters ( #5567 )
2023-10-24 11:19:12 +09:00
Veesh Goldman
84544f5cd3
chore(perl): update parser
2023-10-23 14:40:18 -04:00
r001
0b50cf1592
fix(leo): highlights fixes ( #5563 )
...
* make sure affine_group has priority, so parens and comma will not be miscolored; added `annotation` as @attribute
* `then` is not used as conditional, so moved to keywords
* finalize function highlight added
* differentiate between constant and variable variable identifiers
2023-10-23 19:15:49 +09:00
GitHub
5c08a5301c
Update parsers: leo, liquidsoap, perl, wing
2023-10-23 09:10:38 +02:00
Colin Kennedy
0179a89656
feat: add objdump to the supported languages ( #5548 )
2023-10-22 12:05:20 +03:00
GitHub
07dbb3845c
Update parsers: gn, leo, liquidsoap
2023-10-22 16:19:32 +09:00
Amaan Qureshi
6cb93819c9
feat: add GN (Generate Ninja)
2023-10-22 01:17:15 -04:00
github-actions[bot]
2f15204510
Update README ( #5558 )
2023-10-22 02:02:45 +00:00
r001
99988f6eb7
feat: leo parser and queries ( #5542 )
2023-10-22 10:23:02 +09:00
Tomasz N
ce2a9fb89a
fix(phpdoc): disable spell checking of attribute names ( #5015 )
2023-10-22 10:21:51 +09:00
Github Actions
6f2ef910c2
Update README
2023-10-21 20:49:58 +02:00
Veesh Goldman
bb3f8f40b1
feat(perl)!: switch to tree-sitter-perl org's parser
2023-10-21 14:41:22 -04:00
Veesh Goldman
7c67a1a923
feat(pod): add tree-sitter-perl org's POD parser
2023-10-21 14:41:22 -04:00
Meet Mangukiya
cffa252f5e
feat: add solidity folds
2023-10-21 14:40:19 -04:00
GitHub
f636d58c8d
Update parsers: haskell
2023-10-21 10:53:20 +02:00
Benedikt Reinartz
8963bc8a91
feat(erlang): add missing keyword 'begin'
2023-10-21 00:00:18 -04:00
Raafat Turki
8ac3e313f5
feat(prisma): folding queries ( #5541 )
2023-10-21 12:04:23 +09:00
aMOPel
6e4a770799
docs: improve description of @type.definition capture
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-10-20 15:59:56 -04:00
Hugo
486bb0e557
feat: register APKBUILD files as bash
2023-10-20 15:58:08 -04:00
GitHub
4a68f0778c
Update parsers: liquidsoap, php
2023-10-20 23:19:55 +09:00
Pham Huy Hoang
605a650924
chore(wing): update queries from upstream ( #5549 )
2023-10-20 14:02:49 +00:00
Hugo
1bfefd1f98
docs: add hint on configuring custom filetypes ( #5552 )
...
I thought that this functionality was not possible but there's actually
an API for it. This seems like a useful place for others to find more
information on it.
2023-10-20 20:03:50 +09:00
GitHub
eb3faef3a4
Update parsers: sql, wing
2023-10-19 09:31:13 +02:00
GitHub
afa103385a
Update parsers: dart, wing
2023-10-18 09:20:17 +02:00
GitHub
9c4fc86b67
Update parsers: c, cuda, glsl, hlsl, sql, wing
2023-10-17 15:54:33 +09:00
github-actions[bot]
49e71322db
Update parsers: awk, c, gstlaunch, sql, t32, wing ( #5530 )
...
Co-authored-by: GitHub <noreply@github.com>
2023-10-16 06:50:13 +00:00
Github Actions
43694a240c
Update README
2023-10-15 15:03:01 -04:00
Robert Jackson
4c9da29cbd
fix(scala): add for_expression locals
...
This change does two main things:
1. Indicate that `(for_expression)`'s introduce a `@scope` (this
is the scope for the enumerators to be used within the loop).
2. Indicate that the `(identifiers)` within the `(enumerators)` are
`@definition.var`s.
---
For the following example snippet:
```scala
val fruits = List("apple", "banana", "avocado", "papaya")
val countsToFruits = fruits.groupBy(fruit => fruit.count(_ == 'a'))
for ((count, fruits) <- countsToFruits) {
println(s"with (fruits) 'a' × $count = $fruits")
}
```
The `count` and `fruits` identifiers are new definitions introduced by
the `for` expressions scope.
2023-10-15 18:43:34 +00:00
Robert Jackson
dba7d120e5
fix(scala): ensure function_definition is in parent scope
2023-10-15 18:40:36 +00:00
Stephan Seitz
159272a809
feat: add gstreamer pipeline syntax (gstlaunch)
2023-10-15 18:38:16 +00:00
zetashift
7eadc8715d
fix(unison): improve highlight queries
2023-10-15 18:36:15 +00:00
Alexander Sieg
6608e2c868
fix(elixir): highlight functions without parenthesis ( #5511 )
...
Elixir does not require parenthesis after the function name for a
valid function definition.
2023-10-15 18:35:08 +00:00