Commit Graph

110 Commits

Author SHA1 Message Date
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
Ilan Joselevich
58948dcc4e tree-sitter: 0.20.1 -> 0.20.2 2022-01-13 13:07:24 +01:00
José Luis Lafuente
5321a6b82a tree-sitter updater: use GITHUB_TOKEN if present
The updater makes a lot of requets to the github API, which is rate
limited. We can do more requets if we are authenticated
2022-01-12 23:15:28 +01:00
Bernardo Meurer
838057b393
tree-sitter: update grammars 2021-12-22 19:26:21 -03:00
Ilan Joselevich
34ffda15ea tree-sitter: add many new grammars 2021-12-18 13:44:12 +02:00
Ilan Joselevich
9b79576fdb tree-sitter: update grammars 2021-12-14 21:21:48 +02:00
R. Ryantm
8529d74cc8 tree-sitter: 0.20.0 -> 0.20.1 2021-12-06 08:32:38 +00:00
Bernardo Meurer
796118237d
tree-sitter: update grammars 2021-11-14 22:47:08 -08:00
Enno Richter
9d0de09147 tree-sitter: update grammars 2021-11-08 13:32:43 +01:00
Enno Richter
71667c5d76 tree-sitter: add beancount grammar 2021-11-08 11:23:49 +01:00
Ben Siraphob
7d6c626a39
tree-sitter: only strip on Linux 2021-11-07 22:23:56 -06:00
Sandro Jäckel
72ab5cbf69
tree-sitter: fix eval 2021-11-04 23:13:07 +01:00
Sandro Jäckel
8547db919a
treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
oxalica
3d31321205 tree-sitter: use CXX to compile C++, optimize and strip 2021-10-31 20:57:52 +01:00
Bernardo Meurer
da91093fb9
tree-sitter: update grammars 2021-10-26 10:02:18 -07:00
figsoda
653cbbb34e
Merge pull request #141597 from siraben/tree-sitter-make
tree-sitter: add alemuller/tree-sitter-make
2021-10-14 08:43:03 -04:00
Ben Siraphob
e0c989f46b tree-sitter: add alemuller/tree-sitter-make 2021-10-14 00:14:57 -05:00
Sandro
346af3d8f7
Merge pull request #140567 from siraben/tree-sitter-update 2021-10-05 10:40:57 +02:00
Ben Siraphob
d0c3235111 tree-sitter: update grammars 2021-10-05 00:58:39 -05:00
Enno Richter
a4eeeecd8d tree-sitter: add norg grammar 2021-09-29 09:38:19 +02:00
figsoda
1623e435dd tree-sitter: update grammars 2021-09-18 19:42:55 -04:00
figsoda
e2600d4430 tree-sitter-zig: switch to a maintained version 2021-09-18 19:42:55 -04:00