Skip to content

Commit

Permalink
treesitter: exclude next grammar that is 11MB (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Dec 13, 2024
1 parent d1aea0a commit 2f32c66
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/treesitter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
{
plugins.treesitter = {
enable = true;
grammarPackages = lib.filter (g: g.pname != "verilog-grammar" && g.pname != "systemverilog-grammar")
options.plugins.treesitter.grammarPackages.default;
# exclude some big and rarely used languages
grammarPackages = lib.filter (
g: g.pname != "gnuplot-grammar"
&& g.pname != "systemverilog-grammar"
&& g.pname != "verilog-grammar"
) options.plugins.treesitter.grammarPackages.default;

# we are not installing packages by hand
gccPackage = null;
Expand Down

0 comments on commit 2f32c66

Please sign in to comment.