Amaan Qureshi
c610c78576
chore: update thrift queries
2023-01-29 00:52:59 +01:00
Brian Ryall
5812ae26f7
highlights(beancount): update on latest updates
2023-01-28 15:03:55 +01:00
Amaan Qureshi
aad763de6b
feat: add kdl ( #4227 )
...
* feat: add kdl
* feat: comment queries
* fix(kdl): comments properly highlighted now
* feat(kdl): folds
* chore: bump revision to feature-complete parser
* fix: folds
2023-01-28 13:59:56 +01:00
Amaan Qureshi
8546502163
fix(capnp): update highlights
2023-01-28 13:33:21 +01:00
Ananda Umamil
cf21f81274
highlights(php): instanceof operand
2023-01-28 11:32:57 +01:00
Ananda Umamil
a422d8508d
Use @parameter capture
2023-01-28 01:45:54 +01:00
Ananda Umamil
2ed316ccf4
Apply the suggestion from @Lucario387
...
Co-authored-by: Lucario387 <hoangtun0810@gmail.com>
2023-01-28 01:45:54 +01:00
Ananda Umamil
fc596733ff
highlights(php): declare directives and :
2023-01-28 01:45:54 +01:00
ObserverOfTime
6ae94e0341
highlights(c): extern in linkage specification
2023-01-26 17:39:24 +01:00
ObserverOfTime
de459332e2
feat: add poe_filter
2023-01-25 23:53:04 +02:00
Amaan Qureshi
d9d8f5eba4
feat(capnp, thrift): add folds, bump lockfile
2023-01-23 22:26:16 +01:00
Amaan Qureshi
f826b7af13
refactor(capnp, thrift): improve grammar & queries to stable for the foreseeable future
2023-01-23 22:26:16 +01:00
Sergio A. Vargas
4895c2133f
julia: add if_clause ( #4204 )
...
* fix(julia/highlights): Add `if_clause`
* Update Julia lockfile revision
2023-01-23 08:14:30 +00:00
Amaan Qureshi
6cf93175bf
feat: add capnp ( #4203 )
2023-01-23 10:00:32 +02:00
Amaan Qureshi
1913ce2fd2
feat(thrift): refactor queries for better highlights, fixes bugs where certain ones went past where they should've ended
2023-01-23 08:42:27 +01:00
ObserverOfTime
7bef1d5330
highlights(rst): don't spell check links
2023-01-22 14:11:45 +01:00
Amaan Qureshi
b300d903b0
feat(thrift): use better queries, namely for idents ( #4197 )
2023-01-22 12:29:50 +02:00
Pham Huy Hoang
e42a077fdf
Partially revert json highlight updates
2023-01-22 10:34:19 +02:00
ObserverOfTime
da6dc214dd
highlights(json): conceal escaped quote
2023-01-21 23:06:10 +01:00
Pham Huy Hoang
6d4869e59d
injections(html): update injection queries
2023-01-21 20:40:42 +01:00
Chris Kipp
a943661be8
refactor(scala): update scala highlights for uppercase identifiers
...
This is a small change that comes from the discussion we had in
https://github.com/tree-sitter/tree-sitter-scala/discussions/168#discussioncomment-4718624 .
The idea here is that we're sort of making an assumption on what an
uppercase identifier is in Scala and more times than not, it's actually
a `@type`. So this changes the `@constant` capture to a `@type` one. You
can find the full context in the linked discussion.
2023-01-21 17:59:30 +01:00
ObserverOfTime
f5f7c7e004
feat: add htmldjango
2023-01-21 17:01:45 +01:00
Amaan Qureshi
08e1adae53
feat: add thrift ( #4185 )
2023-01-21 14:39:15 +02:00
Stephan Seitz
a722cd1405
folds(ini): add folds.scm
2023-01-21 01:05:57 +01:00
Stephan Seitz
d88c03abbb
highlights(ini): add highlights.scm
2023-01-21 01:05:57 +01:00
Matthew Gramigna
622baacdc1
parsers: Add FHIR Shorthand (FSH) ( #4052 )
2023-01-18 17:58:45 +00:00
Chris Kipp
28aa6ba554
scala: add interpolator query ( #4175 )
2023-01-18 12:06:32 +01:00
Corentin Brunel
c500926755
c_sharp: update parser and queries ( #4169 )
...
Remove "nameof" from @keyword.operator
Co-authored-by: cbrunel <cbrunel@nomadis.co>
2023-01-16 17:49:26 +00:00
Chris Kipp
1c89f9b5bc
sync with latest Scala and add binding
2023-01-15 09:46:06 -08:00
Stephan Seitz
372177fb99
highlights(haskell): don't match True|False in other identifiers
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Co-authored-by: Guillaume Bouchard <guibou@users.noreply.github.com>
2023-01-14 14:29:00 -08:00
Ananda Umamil
e4042553bd
highlights(elm): fix boolean literals
2023-01-14 14:02:15 -08:00
Ananda Umamil
0b69c4ae52
highlights(haskell): special sigils and operators
2023-01-14 13:11:49 -08:00
Chris Kipp
add6f9abe2
refactor(scala): update the Scala highlight queries
...
There has been a lot of changes recently to the Scala grammar and we've
been merging in a handful of things before syncing the actual generated
parser. We are currently at a stage where we're going to sync
everything, but there are some breaking changes that are included in
https://github.com/tree-sitter/tree-sitter-scala/pull/135 , so when that
commit gets synced here stuff will break. We've taken the queries that
existed here and have been building off of them in the actual upstream
repo. This will hopefully make the transition smooth and updates the
queries to ensure that there is no breakage. It's recommended to wait
until that pr is merged, synced here, and then merge this in around the
same time.
Co-authored-by: eugene yokota <eed3si9n@gmail.com>
Co-authored-by: Anton Sviridov <keynmol@gmail.com>
2023-01-14 12:56:56 -08:00
Pham Huy Hoang
f669924df2
indents(c): update if cases
2023-01-14 04:52:21 -08:00
Pham Huy Hoang
2f5deed456
indents(c): Refactor indent queries
2023-01-14 04:52:21 -08:00
Ananda Umamil
5ac2c92060
highlights(kotlin): package keyword and declaration
2023-01-14 12:06:51 +01:00
Christian Clason
7e4a7c4508
markdown: add strikethrough and blockquote captures
2023-01-14 11:52:25 +01:00
Saurabh Charde
51d220e0bd
feat(scss): add known at-rules to keyword list
2023-01-13 02:46:16 -08:00
Stephan Seitz
bf5be49d99
fix(nickel): follow upstream change in https://github.com/nickel-lang/tree-sitter-nickel/pull/13/files#diff-d485a982e458ef8da2cc203585065b7542665cb80b78d230b1e8f77ea25825d4
2023-01-11 21:49:29 +01:00
figsoda
332fd5338f
injections(nix): remove @combined
2023-01-11 21:27:02 +01:00
figsoda
121044f0b7
fix(nix): reduce injection false positives
2023-01-11 21:27:02 +01:00
Ananda Umamil
1298d9ba3b
highlights(haskell): function and variable bindings
2023-01-11 20:07:16 +01:00
Stephan Seitz
3df5313424
highlights(wgsl): comment -> {line,block}_comment
2023-01-10 10:07:08 +01:00
Cameron
db73045a16
Update indents.scm
2023-01-09 22:17:50 +01:00
Amaan Q
5b8b711926
refactor: move method and end_method to @keyword.function
2023-01-09 21:24:54 +01:00
Amaan Q
d13a0d563b
fix: character_literal is no longer unsupported :)
2023-01-09 21:24:54 +01:00
Amaan Qureshi
1735990aa9
feat: add character_literal query
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-01-09 21:24:54 +01:00
Amaan Q
e1f2bb2fcf
feat: add smali query
2023-01-09 21:24:54 +01:00
John Drouhard
ed021ac3af
injections(cpp): add injections for raw string literals
...
the delimiter describes the language to use for the injection content
```cpp
auto python_code = R"python(
import os
if __name__ == '__main__':
print(os.name)
)python";
```
2023-01-09 21:41:13 +02:00
Chinmay Dalal
fa8736c94a
folds(fennel): add let, fn, let_clause, quoted_list, local, global folds
2023-01-09 10:40:53 +01:00