Commit graph

4084 commits

Author SHA1 Message Date
pseudometa
e040eda997
feat(comment): Add some common comment tags (#4909)
see also: https://github.com/stsewd/tree-sitter-comment/issues/22
2023-06-09 10:14:08 +02:00
github-actions[bot]
7dd2f83764
Update parsers: commonlisp, dart, scala (#4934)
Co-authored-by: GitHub <noreply@github.com>
2023-06-09 06:49:49 +00:00
Amaan Qureshi
2c59e0ff3d refactor(ecma): triple dot should be an operator 2023-06-09 01:58:28 +09:00
Amaan Qureshi
99606fdb71 feat(typescript): update highlights 2023-06-09 01:58:28 +09:00
Hoang Nguyen
71bb1da621
feat(jsonnet): add "for" & "function", update operator highlights
`expr` -> `operator` doesn't exist in the node tree anymore after
505f5bd900
2023-06-08 10:13:26 -04:00
github-actions[bot]
2883a9cf86
Update parsers: commonlisp, lua, ruby, scala (#4927)
Co-authored-by: GitHub <noreply@github.com>
2023-06-08 07:10:04 +00:00
Munif Tanjim
a954f789aa
feat(lua): update highlights query for functions (#4919) 2023-06-08 00:12:54 +02:00
Amaan Qureshi
46ddea9dec
fix(dart): update indents from upstream (#4924) 2023-06-07 20:10:54 +02:00
github-actions[bot]
33eb472b45
Update parsers: ada, erlang, go, lua, scala (#4917)
Co-authored-by: GitHub <noreply@github.com>
2023-06-07 07:16:37 +00:00
Domas Poliakas
ab3bf7d956
fix(scala): add block_comment 2023-06-06 14:36:09 +00:00
Frank Bearoff
1b5a7334bb
feat(bash): highlight until as @repeat 2023-06-05 12:32:53 -04:00
Christian Clason
a034c7aa25
fix(highlights): lower priority for codeblocks with injections (#4905) 2023-06-05 14:09:44 +02:00
github-actions[bot]
2d6e73ab2f
Update parsers: comment, commonlisp, cuda, markdown, markdown_inline, rst (#4907)
Co-authored-by: GitHub <noreply@github.com>
2023-06-05 07:43:40 +00:00
Pham Huy Hoang
9ec2a6bbda
tests: fix failed tests (#4901)
fix failed tests for tiger, t32 and wgsl
2023-06-05 09:52:36 +09:00
github-actions[bot]
e54c8873ef
Update parsers: comment, usd (#4904)
Co-authored-by: GitHub <noreply@github.com>
2023-06-04 15:59:36 +09:00
Pham Huy Hoang
1281601cb4
feat: add indents for annotation defs (#4828)
- Add indent for `@interface` and `@Annotation(...)`
- Add notes for indent queries
2023-06-04 13:28:41 +09:00
Will Ruggiano
79aedc9675
feat(prisma): highlight views 2023-06-04 00:05:57 -04:00
Ananda Umamil
bee003b880
feat(ecma): convert eligible @keyword.operators 2023-06-04 00:04:40 -04:00
Ananda Umamil
56022e0b05
feat(typescript): highlight is and : in type predicate 2023-06-04 00:04:00 -04:00
Santos Gallegos
48f4f3ead1
feat(comment): add support for URIs
https and https links are recognized now
ref https://github.com/stsewd/tree-sitter-comment/pull/21
2023-06-04 00:03:09 -04:00
Alex Manning
f84de0d6cd
fix(gleam): minor indent fixes 2023-06-04 10:39:20 +09:00
Tyler Miller
5ac8cf8ee5 fix(make/highlights): add define and operators 2023-06-03 23:54:28 +03:00
github-actions[bot]
6847ce4f8c
Update parsers: elixir, racket, scheme (#4899)
Co-authored-by: GitHub <noreply@github.com>
2023-06-03 07:27:31 +00:00
Chris Kipp
2cbe8a4296
highlights(scala): add support for using directives (#4893)
This accounts for the updates in https://github.com/tree-sitter/tree-sitter-scala/pull/273.
2023-06-02 22:13:30 +09:00
Frank
cb6d94ef7b add "select" to @repeat highlight group 2023-06-02 01:45:12 -07:00
GitHub
264dd35fd0 Update parsers: cue, glsl, hlsl, latex, scala 2023-06-02 08:56:04 +02:00
GitHub
56c63529c0 Update parsers: scala, t32 2023-06-01 08:51:00 +02:00
Pieter Goetschalckx
a6063b22c9
highlights(ocaml): update operators (#4878)
* Update ocaml highlights

* Don't capture operator twice
2023-06-01 10:28:00 +09:00
GitHub
62146fe415 Update parsers: c, cpp, cuda, gitcommit, glsl, go, hlsl, scala, supercollider
skip dart updates from now on
2023-05-31 19:08:20 +02:00
Christian Clason
23dfae4db8 ci: bump tree-sitter CLI to v0.20.8 2023-05-30 10:44:31 +02:00
GitHub
13d0354890 Update parsers: corn, scala 2023-05-30 10:23:38 +02:00
Pau Ruiz Safont
06aa932bb8
chore: update ocamllex
* Update parsers: ocamllex

Update its highlight to make it compatible with the new parser

* highlights(ocamllex): follow newest changes from upstream

The upstream grammar added highlights in the latest version, change our
highlight so they reflect better the intention of the grammar's author
2023-05-30 00:13:17 -04:00
Amaan Qureshi
6de5ceba03
fix(go): properly highlight chan/map (#4875) 2023-05-30 00:09:37 -04:00
Amaan Qureshi
905877e75f chore: update skipped langs in ci 2023-05-29 19:30:19 +02:00
Amaan Qureshi
754b509f26
chore: update Gleam 2023-05-29 11:13:36 -04:00
Github Actions
1d670b0c90 Update README 2023-05-29 10:27:42 +02:00
Jake Stanger
dc38ff85d9
feat: add language support for corn (#4864)
Adds queries and a parser mapping for the [Corn](https://github.com/jakestanger/corn)
configuration language.
2023-05-29 17:26:28 +09:00
GitHub
e23d5493cf Update parsers: php, scala 2023-05-28 11:53:44 +02:00
GitHub
a76db88548 Update parsers: cue, erlang, haskell, ispc, nickel, ocaml, ocaml_interface, ocamllex, php, phpdoc, scala, scheme, slint, smali 2023-05-27 10:44:32 +02:00
Noah
ab3fb2a285
refactor: update Clojure queries
Instead of relying on regex for matching (which matches custom symbols),
explicitly list each of the variations in `@variable.builtin, `@conditional`,
`@function.macro`.

Add `@variable.builtin` for the builtin repl variables `*1`, `*2`, `*3`, and
`*e`, which are occasionally used in tests and comments.

Move `ex-info`, `ex-cause`, `ex-data`, and `ex-message` to `@functions.builtin`.

Add missing `clojure.core` functions to `@functions.builtin` at the bottom to
minimize diff. Includes functions from 1.12-alpha2 release as well.
2023-05-26 18:15:22 -04:00
Yuki Ito
ec97c5ec72
fear(go): add clear to @function.builtin 2023-05-26 09:51:51 -04:00
Pham Huy Hoang
5781c94703
feat: markdown indents (#4862) 2023-05-26 08:08:06 +00:00
Matthias Q
dae928b3bb
indents(sql): initial support (#4857)
* indents(sql): initial support

* indents(sql): fix queries and lua style
2023-05-25 05:53:14 +00:00
GitHub
9bef726044 Update parsers: c, cuda, scala, t32 2023-05-24 14:22:56 +02:00
Pham Huy Hoang
ad75d3c4bd fix(indent): return early if query doesn't exist 2023-05-24 13:57:08 +02:00
Matthias Queitsch
b8ddb83d60 highlights(sql): add keyword overwrite 2023-05-23 21:08:50 -04:00
mohsen
f2778bd1a2 highlights(go): add some highlights
- added missing operators
- added iota constant
- added comparable type
- edited  go keyword types
2023-05-21 20:04:40 +02:00
Christian Clason
741260618d highlights(query): prefer lua-match 2023-05-21 19:22:05 +02:00
GitHub
18c393108e Update parsers: cuda, glsl, hlsl, ispc, objc, ocaml, ocaml_interface 2023-05-21 09:50:59 +02:00
Github Actions
1557f5cb9a Update README 2023-05-20 22:04:29 -04:00