Commit graph

3631 commits

Author SHA1 Message Date
GitHub
ad9ae9e7de Update parsers: diff, norg, racket, teal 2023-02-13 09:47:39 +01:00
Santos Gallegos
1ec36fdcd5
comment(highlights): reduce false positives (#4298)
There are a couple cases where the comment highlights
will match things that aren't necessary a tag.
For example in Rust, when commenting a block that deals with
generics (generics are declared as `T: Type`),
this may be distracting.

So, instead of highlighting all tags, we can restrict
to highlighting the explicit keywords.

Ref https://github.com/stsewd/tree-sitter-comment/issues/14
2023-02-13 09:43:26 +01:00
Kiyoon Kim
7eb5f1a2e3 properly replace deprecated tsutils functions 2023-02-12 14:26:14 -08:00
Omar Zeghouani
ab5cc6414e
chore(fish): update test command highlight query (#4306) 2023-02-13 00:19:48 +02:00
Kiyoon Kim
2c2430d42f deprecate get_node_range and is_in_node_range 2023-02-12 02:38:17 -08:00
GitHub
148cf37572 Update parsers: c_sharp, capnp, fortran, func, glimmer, haskell, php, ron, sql, v 2023-02-12 11:35:04 +01:00
Ananda Umamil
4e26fec074 highlights(php): use lua-match?
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
2023-02-12 01:23:19 -08:00
Ananda Umamil
0c6835ce5e highlights(php): remove typedef capture from as 2023-02-12 01:23:19 -08:00
Ananda Umamil
620b947218 highlights(php): fix @constant queries 2023-02-12 01:23:19 -08:00
Ananda Umamil
f83f05798a highlights(php): fix queries related to namespaces 2023-02-12 01:23:19 -08:00
ObserverOfTime
74151445d0 highlights(kotlin): fix function highlights 2023-02-12 01:21:58 -08:00
Vir Chaudhury
d7c12db4c8 astro: add injections for scss 2023-02-11 15:55:56 -08:00
ObserverOfTime
5b71f2674a injections(svelte): add pug injection 2023-02-11 15:40:34 -08:00
haoxian
dd600cf1c2 fix: incremental_selection error
if some empty lines in the end of file,
would throw error messages when incremental_selection to the whole file.
2023-02-11 15:37:53 -08:00
GitHub
f6df07be12 Update parsers: haskell, jsonnet, tlaplus 2023-02-08 09:59:46 +01:00
GitHub
df6f322089 Update parsers: ebnf, embedded_template, gdscript, kdl, thrift, zig 2023-02-07 09:32:25 +01:00
GitHub
d3a68725e8 Update parsers: c_sharp, cmake, kdl, pug, v, vim 2023-02-05 23:10:30 -08:00
Amaan Qureshi
c3a7dd4768 feat: improve KDL queries 2023-02-05 23:08:41 -08:00
Christian Clason
24d5be6e71 feat(markdown): add latex injections
added in https://github.com/MDeiml/tree-sitter-markdown/pull/71
2023-02-05 08:29:45 -08:00
Amaan Qureshi
720f75f988 feat: add RON 2023-02-05 02:21:49 -08:00
GitHub
70af55b428 Update parsers: arduino, markdown, markdown_inline, tlaplus 2023-02-05 10:37:36 +01:00
ObserverOfTime
bd7b4b6eff feat: add chatito 2023-02-04 04:19:40 -08:00
GitHub
3fa887eaae Update parsers: gdscript, ruby, sql, zig 2023-02-04 10:40:04 +01:00
ObserverOfTime
0e6d4b4172 highlights(ecma): limit constructor highlight 2023-02-03 14:32:28 -08:00
Sergio Alejandro Vargas
a8ced4ce8b Update lockfile.json: julia 2023-02-03 14:29:30 -08:00
Sergio Alejandro Vargas
4301040bbc feat(julia/highlights): Add as keyword 2023-02-03 14:29:30 -08:00
Amaan Qureshi
98a52ce300 feat: add gosum 2023-02-03 20:38:40 +02:00
GitHub
588cdb6c06 Update parsers: bash, func, markdown, markdown_inline, sql, v 2023-02-03 09:30:54 +01:00
Amaan Qureshi
a0f55ee28c chore: organize languages in parsers.lua 2023-02-03 10:30:00 +02:00
Amaan Qureshi
660a070af7 feat: add func 2023-02-02 23:28:46 +02:00
Omer Tuchfeld
69867ffe7e jq/highlights.scm should highlight the elif keyword 2023-02-02 14:40:36 +02:00
GitHub
4f291bdaf7 Update parsers: bash, beancount, help, sql, v 2023-02-02 08:36:12 +01:00
Stephan Seitz
f0e083912a highlights(cuda): add __noinline__ 2023-02-01 20:40:39 +02:00
GitHub
4cc201ecd9 Update parsers: smithy 2023-02-01 08:01:52 +01:00
GitHub
7ba61ca7f5 Update parsers: cuda, sql 2023-01-31 18:46:03 +01:00
Amaan Qureshi
e00952111e
feat: add smithy (#4245) 2023-01-31 16:14:58 +02:00
Alvaro Muñoz
f6531e27fd simplify tests 2023-01-31 12:23:13 +01:00
Alvaro Muñoz
d335c39bff update tests 2023-01-31 12:23:13 +01:00
Alvaro Muñoz
c433b3c232 fix tests 2023-01-31 12:23:13 +01:00
Alvaro Muñoz
9d6d348418 add ql indent tests 2023-01-31 12:23:13 +01:00
Alvaro Muñoz
1c41d6f825 fix(ql): Add moduleMember to indent file 2023-01-31 12:23:13 +01:00
GitHub
b4fd2db607 Update parsers: elsa, sql 2023-01-31 08:24:47 +01:00
Lewis Russell
adeb6e02d3 fix: better support for custom parsers
If the user changes the parser_config by modifing the table returned by
get_parser_configs(), then internally mark the config so when we install
we 1) don't use the revision pointed to by the lockfile, and 2) always
download the parser via git.
2023-01-30 12:49:57 +01:00
GitHub
a5cf6b1f3f Update parsers: capnp, kdl, markdown, markdown_inline, scala, thrift 2023-01-30 09:27:48 +01:00
Amaan Qureshi
cbb43a64a3 feat: add elsa 2023-01-30 09:45:17 +02:00
GitHub
cda8b291ef Update parsers: capnp, cuda, kdl, thrift 2023-01-29 10:38:35 +01:00
Amaan Qureshi
c610c78576 chore: update thrift queries 2023-01-29 00:52:59 +01:00
Kiyoon Kim
dd94001fcb fix artefact in change mode 2023-01-28 23:52:12 +01:00
Brian Ryall
5812ae26f7 highlights(beancount): update on latest updates 2023-01-28 15:03:55 +01:00
GitHub
e38446fe21 Update parsers: beancount, cpp, cuda, hlsl, java, nickel, scala, thrift, v 2023-01-28 14:45:07 +01:00