Commit Graph

131 Commits

Author SHA1 Message Date
R. Ryantm
6ab84fc184 tree-sitter: 0.20.6 -> 0.20.7 2022-09-07 21:02:13 +00:00
Ana Hobden
3c265de78d tree-sitter: Update grammars
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-08-28 08:32:37 -07:00
talyz
784686d06c
tree-sitter: Package query files used for syntax highlighting 2022-08-25 18:10:47 +02:00
Sergei Trofimovich
717e7bd291 tree-sitter: strip only debug info by default
Noticed use of $STRIP when passed through various uses of $STRIP
in `nixpkgs`. This looked unusual in a way that it strips not just
debugging symbols but also all the rest.

The change switch to debug-only stripping.

While at it switched to expliict use of `-fPIC` for shared library.
2022-08-07 17:35:48 +01:00
Jocelyn Thode
c75aa80bed tree-sitter: Update grammars and add markdown-inline 2022-07-15 16:39:44 +02:00
Sandro
f4485783b0
Merge pull request #177651 from ambroisie/add-tree-sitter-tiger
tree-sitter: add tree-sitter-tiger
2022-06-15 14:27:19 +02:00
Bruno BELANYI
685e69f75c tree-sitter: add tree-sitter-tiger 2022-06-14 16:48:58 +02:00
Sandro Jäckel
4532226e4d
tree-sitter: init tree-sitter-sql 2022-06-12 22:47:23 +02:00
Sandro Jäckel
7b4b39cbc1
tree-sitter: init tree-sitter-rego 2022-06-12 22:47:23 +02:00
Sandro Jäckel
cd5793da83
tree-sitter: update grammars 2022-06-12 22:47:23 +02:00
Sandro Jäckel
47cbc38f08
tree-sitter: init tree-sitter-go-work 2022-06-12 22:47:23 +02:00
Tae Selene Sandoval Murgan
da0058d4a8 tree-sitter: Update grammars 2022-06-01 20:16:08 +02:00
Tae Selene Sandoval Murgan
235f1299d3 tree-sitter: Remove the Swift grammar
It was abandoned, and the recommended one doesn't have a parser.c file
2022-05-25 21:28:29 +02:00
William Kral
0c28d3bbec tree-sitter: revert #172850 for nix 2022-05-18 10:32:26 -07:00
adisbladis
492f7190ce tree-sitter: Bump grammars 2022-05-13 22:44:37 +12:00
oxalica
b1723f8c47
tree-sitter: update grammars and add oxalica as maintainer 2022-05-12 05:20:22 +08:00
Sandro
73465c2247
Merge pull request #169967 from adisbladis/tree-sitter-emacs-langs-parity
tree-sitter-grammars: Add grammars for parity with Emacs tree-sitter-langs
2022-04-27 17:35:28 +02:00
oxalica
d5d7d01114
tree-sitter: revert the parser for nix
The new version of parser is out of sync with nvim-treesitter's queries
and causes highlighting failures.
2022-04-25 22:21:32 +08:00
oxalica
011f56b2cb
tree-sitter: update grammars
There are node changes on lua and/or vim parsers, which cause highlight
errors with current version of nvim-treesitter in nixpkgs.
This update should fix them.
2022-04-25 14:14:34 +08:00
adisbladis
4c83c0b027 tree-sitter-grammars.tree-sitter-pgn: init 2022-04-24 04:35:05 +12:00
adisbladis
8f0bd07971 tree-sitter-grammars.tree-sitter-janet-simple: init 2022-04-24 04:35:05 +12:00
Christian Kögler
5961157781 tree-sitter: Add tree-sitter-scheme 2022-04-23 14:36:06 +02:00
Ben Siraphob
f36dfc2059
tree-sitter: rollback #165178 for Nix
Large changes to the nodes mean that highlighters need to update their
queries before the update can be merged
2022-03-24 21:06:09 -05:00
Martin Weinelt
964b4a6bd2
tree-sitter: update grammars 2022-03-23 05:22:56 +01:00
Martin Weinelt
edbaf11e94
tree-sitter: unquote latest version in update script
Otherwise if a tag was found it would try to fetch `refs/tag/"v1.2.0"`.

```
fetching list of grammars
checking the tree-sitter repo list against the grammars we know
writing files to /etc/nixos/nixpkgs/pkgs/development/tools/parsing/tree-sitter/grammars
Fetching latest release ("v1.2.1") of tree-sitter-agda …
Initialized empty Git repository in /tmp/git-checkout-tmp-RU9DUpjM/tree-sitter-agda/.git/
fatal: couldn't find remote ref refs/tags/"v1.2.1"
From https://github.com/tree-sitter/tree-sitter-agda
 * branch            HEAD       -> FETCH_HEAD
fatal: Not a valid object name
Unrecognized git object type:
Unable to checkout refs/tags/"v1.2.1" from https://github.com/tree-sitter/tree-sitter-agda.
```
2022-03-23 05:18:09 +01:00
Ben Siraphob
3d81edb00f
Merge pull request #162766 from stephank/feat/tree-sitter-hcl 2022-03-22 19:14:10 -05:00
Ben Siraphob
6326d1b397
Merge pull request #165178 from siraben/tree-sitter-update 2022-03-21 23:52:08 -05:00
Ben Siraphob
e6c5413578
Merge pull request #161456 from siraben/tree-sitter-overridable 2022-03-21 23:51:52 -05:00
Ben Siraphob
838f644e91
tree-sitter: update grammars 2022-03-21 16:39:37 -05:00
Ben Siraphob
5b55eb42f1
tree-sitter: add extraGrammars attribute 2022-03-17 16:48:19 -05:00
Ben Siraphob
6ff99f2a17
Merge pull request #158261 from mdavezac/nvim-tree-sitter-darwin 2022-03-17 16:26:14 -05:00
R. Ryantm
91247c747d tree-sitter: 0.20.4 -> 0.20.6 2022-03-07 11:28:18 +01:00
Stéphan Kochen
192646e441 tree-sitter-hcl: init 2022-03-04 13:48:44 +01:00
Bernardo Meurer
1de14c4ebe tree-sitter: update grammars 2022-02-09 19:52:12 -08:00
Bernardo Meurer
b7b8e9574f tree-sitter: fix update script's prefetch
It was including the quotes from jq into the tag name, which is
incorrect
2022-02-09 19:52:12 -08:00
Vladimír Čunát
9bd2cb47b5
Merge #157184: tree-sitter-lua: 0.0.8 -> 0.0.9 2022-02-06 17:42:52 +01:00
Mayeul d'Avezac
ae6bb2fcf8
treesitter grammars: on darwin should use .so suffix
The files are compiled with -shared rather than  -dynamiclib and are
BUNDLE.
2022-02-04 21:10:46 +00:00
Matthieu Coudron
1705882eb6 tree-sitter-org-nvim: renaming of tree-sitter-org-nvim
There are likely to be several "org" grammars so suffixing them seems
better in the long term see https://github.com/NixOS/nixpkgs/pull/145940

I haven't provided an alias since this grammar was introduced a few days
ago only.
2022-02-01 19:16:50 +01:00
Gaute Ravndal
f5abd95780 tree-sitter-lua: 0.0.8 -> 0.0.9 2022-01-28 19:43:18 +01:00
Bernardo Meurer
c3b9059630
Merge pull request #156535 from gravndal/tree-sitter-lua
tree-sitter-lua: switch to MunifTanjim's parser
2022-01-25 23:32:33 -08:00
José Luis Lafuente
71dd58ce85
tree-sitter-markdown: ikatyang parser to MDeiml
Replace
https://github.com/ikatyang/tree-sitter-markdown
with
https://github.com/MDeiml/tree-sitter-markdown

With neovim, the current markdown parser crashes sometimes.
nvim-treesitter project uses MDeiml parser to avoid those crashes,
take a look to
https://github.com/nvim-treesitter/nvim-treesitter/pull/2105 and
https://github.com/nvim-treesitter/nvim-treesitter/issues/872 to see why
the picked one over the other.
2022-01-25 11:10:49 +01:00
Gaute Ravndal
e8e8139f13 tree-sitter-lua: switch to MunifTanjim's parser
This keeps it in sync with what has been done in nvim-treesitter:
https://github.com/nvim-treesitter/nvim-treesitter/pull/2272
2022-01-24 16:05:51 +01:00
Roman Volosatovs
15e1696532
tree-sitter: update grammars 2022-01-24 12:20:26 +01:00
Roman Volosatovs
a7c14c9aa9
tree-sitter: print { lib }: in update script 2022-01-24 12:20:25 +01:00
Roman Volosatovs
d5a2fbcf8d
tree-sitter: allow token-less execution 2022-01-24 12:20:19 +01:00
Roman Volosatovs
a39a11681a
tree-sitter: handle errors in update script 2022-01-24 12:18:53 +01:00
Roman Volosatovs
61f4f686c5
tree-sitter: 0.20.3 -> 0.20.4 2022-01-24 12:18:53 +01:00
R. Ryantm
60dce83995
tree-sitter: 0.20.2 -> 0.20.3 2022-01-24 12:18:53 +01:00
Lorenzo Manacorda
9cabde84be tree-sitter: add org grammar to update.nix 2022-01-21 21:42:24 +01:00
Matthieu Coudron
1caf78f4bf tree-sitter: adding org grammar 2022-01-17 16:02:13 +01:00