Commit graph

4068 commits

Author SHA1 Message Date
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
fab4100
8e817bebf9
feat: add Intel Implicit SPMD Program Compiler (ISPC)
* Add ISPC parser config

* Add ISPC queries

* Update queries/ispc/injections.scm

Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>

---------

Co-authored-by: Fabian Wermelinger <fab4100@posteo.net>
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2023-05-20 21:52:54 -04:00
fab4100
8e59b4919d
fear(cpp): highlight brackets in template_parameter_list 2023-05-20 14:41:54 -04:00
GitHub
3d5fe8caf8 Update parsers: c, gitcommit, scala, sql 2023-05-20 10:02:48 +02:00
Amaan Qureshi
cbfb03bba5 chore(objc): update folds 2023-05-20 03:52:08 -04:00
Amaan Qureshi
dad1b7cd66 feat: add Objective-C 2023-05-19 12:24:38 -04:00
GitHub
05df88ebaa Update parsers: dart 2023-05-19 09:19:01 +02:00
Ananda Umamil
a02a06a068 highlights(typescript): : in switch statement 2023-05-18 21:34:42 -04:00
Emilia Simmons
58da7fe93e allow no spaces for extend/inherit comments 2023-05-18 20:01:00 -04:00
Emilia Simmons
0058058386 add multiple ; for highlighting 2023-05-18 20:01:00 -04:00
Emilia Simmons
865483f8d1 fix(query): allow multiline modeline (inherits/extends) 2023-05-18 20:01:00 -04:00
Pham Huy Hoang
1aea2eee29
refactor: add notes for swift
Also add enum_class_body
2023-05-19 00:57:18 +09:00
GitHub
4d0520ee09 Update parsers: c_sharp, erlang, glsl, hlsl, nickel, t32 2023-05-18 10:46:34 +02:00
Christoph Sax
16cce8df58
feat(t32): add indent rules (#4782) 2023-05-18 16:40:13 +09:00
Pham Huy Hoang
102f1b2f55 fixup: use correct require syntax 2023-05-17 15:35:28 +02:00
Christian Clason
fa23ff4bd7 refactor(indent): backport improvements from main
* replace ts_utils.memoize_by_buftick by simpler implementation
* simplify construction of hash map
* prefer Neovim APIs
2023-05-17 15:25:35 +02:00
GitHub
aa44e5fc5f Update parsers: c 2023-05-17 08:50:04 +02:00