Skip to content

Commit

Permalink
feat(tree-sitter): remove default grammars
Browse files Browse the repository at this point in the history
  • Loading branch information
vdbe committed May 23, 2024
1 parent ef7393a commit 458e461
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nix/pkgs/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
];
};

# FIX: DOn't rebuild everything for this
neovim-unwrapped' = neovim-unwrapped.overrideAttrs (_: previousAttrs: {
treesitter-parsers = {};
preConfigure =
previousAttrs.preConfigure
or ""
Expand Down
15 changes: 15 additions & 0 deletions nix/sources/grammars/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@
"url": "https://api.github.com/repos/tree-sitter/tree-sitter-c/tarball/v0.21.1",
"hash": "0sycp85pl0yr3d35fj17p1kbz8j3xj04ql35xmmd78f9592s0862"
},
"tree-sitter-query": {
"type": "GitRelease",
"repository": {
"type": "GitHub",
"owner": "tree-sitter-grammars",
"repo": "tree-sitter-query"
},
"pre_releases": false,
"version_upper_bound": null,
"release_prefix": null,
"version": "v0.3.0",
"revision": "d1b0b34c177d93cd17f85e964568dfdad90e05e0",
"url": "https://api.github.com/repos/tree-sitter-grammars/tree-sitter-query/tarball/v0.3.0",
"hash": "191h311g14aah7wpibpyhpz925506c3l6qyrfra1kd8pjn1nv2vk"
},
"tree-sitter-rust": {
"type": "GitRelease",
"repository": {
Expand Down

0 comments on commit 458e461

Please sign in to comment.