Commit graph

1033 commits

Author SHA1 Message Date
Christian Clason
cf13c96050 fix(jsdoc): add scanner.c 2024-01-27 10:30:03 +01:00
Dai López
ffb19d5dee
feat(gnuplot): added gnuplot parser and queries (#5594)
* feat(gnuplot): added gnuplot parser and queries

---------

Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-01-26 13:30:43 +02:00
Leftas
ce4adf11cf Fix find_usages 2024-01-25 19:24:18 +01:00
Colin Kennedy
4362b04a29
feat: add tree-sitter-disassembly 2024-01-24 19:25:40 -05:00
James Trew
cd4e090994 fix(locals): index matches with split capture names 2024-01-22 17:09:27 +01:00
wzy
94bd4bcc5b
feat: add the zathurarc parser (#5948) 2024-01-21 19:42:30 +02:00
tk-shirasaka
64b3d5e569
feat: add the php_only parser included in tree-sitter-php (#5876)
Add parser  `php_only` for PHP files without HTML embedded.
Make queries for combined parser `php` inherit from `php_only` (no extensions needed).

---------

Co-authored-by: shirasaka <tk.shirasaka@gmail>
2024-01-20 12:34:49 +00:00
ObserverOfTime
17fae3f4a3 feat(injections): add printf format strings 2024-01-19 16:58:37 +01:00
Christian Clason
5b90ea2aba feat(locals)!: switch to upstream captures 2024-01-19 16:58:37 +01:00
Christian Clason
f197a15b0d revert "fix(config)!: always install parsers bundled with nvim" 2024-01-19 16:45:58 +01:00
Christian Clason
5037721ec5 fixup: proper union of tables 2024-01-18 17:08:20 +01:00
Christian Clason
07c8c3d84f fixup: empty ensure_installed 2024-01-17 11:07:20 +01:00
Christian Clason
7b326a0962 fixup: don't extend _with_ 'all' 2024-01-17 11:01:24 +01:00
Christian Clason
97ba59c6f5 fixup: ensure_installed can be 'all' 2024-01-16 19:05:28 +01:00
Christian Clason
fe89bf1719 fix(config)!: always install parsers bundled with nvim 2024-01-16 18:24:59 +01:00
Christian Clason
59d4c14a1a feat!: bump minimum Nvim version to 0.9.2
required for empty injection fix
2024-01-15 13:02:20 +01:00
Christian Clason
f6483d1194 fix(php): adjust to parser refactor 2024-01-07 13:12:04 +01:00
Mark Skelton
a0b815497b
feat: add tree-sitter-styled (#5735)
* Add styled parser

* Add queries

* Update highlights

* Remove unnecessary highlights

* Update injections to use the styled grammar

* Remove requires npm
2023-12-19 21:53:00 +09:00
Pham Huy Hoang
79dcd0e24c
fix: remove 0-length range usage in indent.lua (#5805) 2023-12-19 19:42:30 +09:00
Christian Clason
9bc1f1e640 fix(v): adapt to removed scanner.c 2023-12-15 10:24:32 +01:00
Tomohiro Hashidate
b41bbcbb9a
feat: add rbs parser support (#5745) 2023-12-01 01:22:29 +09:00
Stephan Seitz
10432e6b0f parsers: add tree-sitter-slang 2023-11-29 00:54:24 -08:00
Bryan Kenote
bf982eb7dc
feat: add facility 2023-11-28 12:24:43 -05:00
Tomas Sandven
482a2f15d3 Fix robot parser metadata in parsers.lua 2023-11-27 09:36:47 +01:00
Christian Clason
52b25c9a3f fixup: parser requires generate (ABI) 2023-11-26 15:24:26 +01:00
Christian Clason
de5197871e fixup: lint 2023-11-26 15:24:26 +01:00
Christian Clason
1e74c34b66 feat: add angular parser and queries 2023-11-26 15:24:26 +01:00
ObserverOfTime
6b24db0c8f feat: add properties parser 2023-11-21 13:13:26 +02:00
Amaan Qureshi
d876296476
feat: add Linkerscript (#5693) 2023-11-19 18:10:52 +09:00
Vincent Rischmann
da6646c3e5
feat: add templ
---------

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-11-16 16:12:55 -05:00
Mark McCulloh
17e77749c1
fix(wing): update parser and queries, add maintainer (#5671) 2023-11-13 19:04:27 +00:00
ObserverOfTime
d4fb7557ba feat: add xcompose parser 2023-11-10 14:10:20 -05:00
postsolar
bf18ff20ae
feat(purescript): add parser and queries (#5626) 2023-11-08 18:07:02 +02:00
Willem-J-an
629cae1f0f
feat(kusto): add kusto parser and highlights (#5632)
* feat(kusto): add kusto parser and highlights

* feat(kusto): improve highlights

* Update queries/kusto/highlights.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* chore(kusto): remove unneeded filetype

---------

Co-authored-by: Willem Jan Noort <noortw01@heiway.net>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-11-08 09:11:19 +00:00
ObserverOfTime
9a746b4b6a feat: add udev rules parser 2023-11-07 12:17:38 +02:00
aMOPel
aeb5ad8ae1
feat(nim): added nim parser and queries (#5556)
* feat(nim): added nim parser and queries

* correct scanner.cc to scanner.c

Co-authored-by: Christian Clason <c.clason@uni-graz.at>

* fix(nim): corrected capture for @function.macro

* feat(nim highlights): added @field capture for discriminator field in
object variant

* bumped parser version, adapted highlights.scm and condensed
injections.scm

* improved nim_format_string highlights.scm

* bump nim parser version again

* removed overlap between queries for generalized strings in
injections.scm

* improved formattin] in nim_format_string/injections.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* corrected asm parser name in injections.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* improved formatting in highlights.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* removed @error capture from highlights.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* improved wording in comment in highlights.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* removed priority from (dot_expression left: @none) capture, since it's
at the end of the file anyways

* removed comments listing unused captures

* reverted @error capture in nim_format_string/highlights.scm back to
@none

* condensed string alternatives in injections.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* condensed string alternatives in injections.scm (second part)

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* added comment to explain reasoning behind priority use

* swapped order of @punctuation.delimiter and @operator to get rid of
superfluous comment

* moved macro and template keywords to @preproc capture

* removed priorities in highlights.scm and shifted @parameter capture
behind @type capture

* improved formatting in locals.scm

* added queries for missing cases of @definition.namespace capture in
locals.scm

* removed some trailing whitespace

* added @namespace queries for highlights.scm

* bumped parser version again

* removed superfluous @type capture

* removed `@type`s `has-ancestor` and removed `(_ (_ ...` structures,
but added priorities

* added missing @constant capture to some queries in highlights.scm

* fixed priority numbers so they work when injecting nim (in markdown)

* added @none captures back to injection targets

* added (assembly_statement) injection query

* added indent queries

* removed indents.scm again

* added some missing queries for dot_generic_call, concept_declaration and
pragma_statement

---------

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-10-30 20:35:51 +09:00
ObserverOfTime
3954741f26 chore(sql): add scanner 2023-10-26 14:48:05 -07: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
Colin Kennedy
0179a89656
feat: add objdump to the supported languages (#5548) 2023-10-22 12:05:20 +03:00
Amaan Qureshi
6cb93819c9 feat: add GN (Generate Ninja) 2023-10-22 01:17:15 -04:00
r001
99988f6eb7
feat: leo parser and queries (#5542) 2023-10-22 10:23:02 +09: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
Hugo
486bb0e557
feat: register APKBUILD files as bash 2023-10-20 15:58:08 -04:00
Stephan Seitz
159272a809
feat: add gstreamer pipeline syntax (gstlaunch) 2023-10-15 18:38:16 +00:00
Noah
95364251e5
chore(clojure): update maintainer 2023-10-09 15:38:26 +02:00
ObserverOfTime
dfd4fb330f
feat: add nasm parser (#5475)
* feat: add nasm parser

* chore: update highlights

---------

Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2023-10-09 11:28:28 +03:00
Mathew Polzin
3a2cc3161e
feat(authzed): add parser and highlight queries. (#5426)
* feat(authzed): add parser and highlight queries

* Update queries/authzed/highlights.scm

use `any-of` for list of alternative words.

Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>

* add injections queries file.

* Update queries/authzed/highlights.scm

* tweak whitespace

* fix errors with capture names.

* style(authzed): reformat highlights

* add self as maintainer

* Update lua/nvim-treesitter/parsers.lua

Co-authored-by: Christian Clason <c.clason@uni-graz.at>

* Add to lockfile and readme

* feat(authzed): Updates to queries and lockfile around newest Authzed parser changes.

* Update queries/authzed/highlights.scm

Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>

* Update queries/authzed/highlights.scm

Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>

* unnest here similarly to recommended elsewhere

* Update highlights.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

---------

Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2023-10-07 10:43:35 +09:00
Romain Beauxis
691fdc61a1
feat: add liquidsoap
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2023-10-04 10:58:10 -04:00
Marc Jakobi
cb139d880b chore(haskell): add mrcjkb as maintainer 2023-09-27 17:18:14 +02:00