Commit Graph

65 Commits

Author SHA1 Message Date
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
figsoda
bebdf9820c tree-sitter-vim: init 2021-09-18 19:42:46 -04:00
figsoda
527933a7d8 tree-sitter-rst: init 2021-09-18 19:42:42 -04:00
figsoda
b7fb2794c4 tree-sitter-elisp: init 2021-09-18 19:42:42 -04:00
figsoda
5d08733263 tree-sitter-dart: init 2021-09-18 19:42:31 -04:00
figsoda
19bd423fad tree-sitter-clojure: init 2021-09-18 19:24:28 -04:00
Ben Siraphob
df5d6f5ebe
Merge pull request #137955 from siraben/tree-sitter-grammars 2021-09-15 20:25:50 -05:00
Ben Siraphob
5196b3df7c tree-sitter: update grammars 2021-09-15 11:52:34 -05:00
Ben Siraphob
3b61e2c2b9 tree-sitter: add rydesun/tree-sitter-dot 2021-09-14 22:26:33 -05:00
figsoda
9b57dc3585
Merge pull request #136367 from LavaDesu/tsgrammar-fix
tree-sitter: replace hyphens with underscores in .withPlugins
2021-09-14 15:23:31 -04:00
Ben Siraphob
49cce41b7c tree-sitter: update grammars 2021-09-05 23:05:50 -05:00
LavaDesu
46232128d2
tree-sitter: replace hyphens with underscores in .withPlugins
nvim-treesitter expects underscores instead of hyphens, causing some
grammars not to be recognised
2021-09-01 17:54:42 +07:00
figsoda
409dd0bf58 tree-sitter: update grammars 2021-08-16 14:05:07 +02:00
Sandro
cdcf040ce9
Merge pull request #132227 from tssm/add-tree-sitter-fish-grammar
tree-sitter-fish: init at HEAD
2021-08-08 12:01:20 +02:00
Tae Sandoval
90b7de20ac tree-sitter-fish: init at HEAD 2021-07-31 17:49:21 +02:00
figsoda
afb908bfbd tree-sitter-comment: init at 2021-04-27 2021-07-27 23:58:33 -04:00
Sandro
d5bd34ebf2
treewide: convert phases that contain ":" to dont* = true (#130500) 2021-07-18 23:42:48 +02:00
Guillaume Girol
c1ec258fe4 tree-sitter-latex: init at HEAD 2021-07-10 12:00:00 +00:00
Philipp Mildenberger
cab809f466 tree-sitter: 0.19.5 -> 0.20.0 2021-07-01 17:02:04 +02:00
José Luis Lafuente
779cb5580d tree-sitter: update grammars
Switch to nvim-treesitter/tree-sitter-lua for lua,
since current lua grammar is broken for 0.19.5
2021-06-16 16:53:57 +02:00
Carlos Hernandez
99b351b4bd tree-sitter: explicitly incl CXX headers on Darwin
clang needs to find headers + libraries for compiling with libc++.
On Darwin we will include CXX headers when compiling C.

This closes #124396
2021-06-04 11:31:42 -06:00
Michael Adler
44c286d236 tree-sitter: 0.19.3 -> 0.19.5
new grammars:

* tree-sitter-toml
* tree-sitter-tsq
* tree-sitter-zig
2021-05-27 17:03:37 +02:00
Daniël de Kok
85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00
José Luis Lafuente
f29292db76 tree-sitter: Add withPlugins 2021-04-22 14:11:01 +02:00
Imran Hossain
ce5cbe4abf tree-sitter: Update grammars 2021-04-22 11:53:13 +02:00
Christian Kögler
f822651e70 tree-sitter: Add aarch64 support
tree-sitter compiles on aarch64
2021-04-03 16:11:34 +02:00
José Luis Lafuente
fee2e23c00 tree-sitter: 1.18.2 -> 0.19.3
Update the grammars and add `allGrammars` derivation.
`nix-build "<nixpkgs>" -A tree-sitter.allGrammars` will create a
derivation with symlinks to all the grammars
2021-03-16 01:38:58 +01:00
Sandro Jäckel
bee35c7b7c
tree-sitter: cleanup 2021-03-06 21:03:30 +01:00
José Luis Lafuente
c7cf17293b tree-sitter: 0.17.3 -> 0.18.2
Also updates the tree-sitter grammars
2021-03-03 21:07:51 +01:00
li
f7752fc99c treesitter grammars: look for scanner.c 2021-03-03 21:07:51 +01:00
Profpatsch
3464ca4f2f tree-sitter: update grammars 2021-01-16 13:15:46 +01:00
Profpatsch
b96633cf37 tree-sitter: add cstrahan/tree-sitter-nix 2021-01-16 13:15:46 +01:00
John Ericson
f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
Profpatsch
00359f25e2 tree-sitter: test building of grammars 2020-12-29 13:54:29 +01:00
Profpatsch
0181e103b3 tree-sitter: update grammars again with new update script 2020-12-29 13:06:41 +01:00
Profpatsch
5f0ace20af tree-sitter/update: allow grammars to be fetched from other orgas
Some of the grammars are not in the official orga, like
tree-sitter-lua, so we make sure the updater knows how to fetch them.
2020-12-29 13:02:39 +01:00
Profpatsch
b4ff78a45b tree-sitter/update: pull repo argument into the nix code 2020-12-29 13:02:39 +01:00
Profpatsch
0b1bfd7d14 tree-sitter/update: make the repo check into a boolean test 2020-12-29 13:02:38 +01:00
Profpatsch
d2988dac8e tree-sitter/update: factor repo list into nix
We want the ability to add different orga repos as well, and that is a
lot easier on the nix level.
2020-12-29 13:02:38 +01:00
Profpatsch
a32c5d90e7 tree-sitter: update grammars
The new update scripts gives us a bunch of new grammars!
2020-12-29 12:46:30 +01:00
Profpatsch
c0a4b41afe tree-sitter: improve update script to fetch all available grammars
The update script would only fetch the few grammars listed in the
tree-sitter repository previously. But the tree-sitter github orga has
a rather large amount of officially supported grammars.

Thus we change the script to query the github APIs for repositories
instead (up to 100 this is supported without paging).

Since the repository list also contains some that are not grammars,
there is a bash script which lists all repos we are aware of and the
ones we want to ignore. It will make sure we don’t forget any
repositories in the future, by comparing to the actual list with jq.
2020-12-29 12:46:30 +01:00
Profpatsch
a629257ec5 tree-sitter: rename library.nix to grammar.nix 2020-12-29 12:46:30 +01:00
Profpatsch
c505e57173 tree-sitter: patch out web-ui by default, to drop emscripten
The tree-sitter build closure is pretty lean by default, but the
optional web-ui requires emscripten to compile the web interface
javascript/wasm code.

This is clearly not worth the increase in build closure size, and
since emscripten is broken more often than not, let’s patch it out by
default. If somebody /really/ needs the web-ui, there is a
`webUISupport` flag.
2020-12-24 17:11:04 +01:00
Profpatsch
cf81745404 tree-sitter: split arguments in library.nix & document 2020-12-19 13:36:03 +01:00
Profpatsch
5907bcadfa tree-sitter: exports.json was fixed in releases, remove sed
These symbols do not exist anymore in the new tree-sitter releases, so
we can remove the sed.
2020-12-19 13:36:02 +01:00
Nick Hu
4d8adccab6
tree-sitter: update grammars 2020-11-09 18:42:17 +00:00