tree-sitter: split arguments in library.nix & document

This commit is contained in:
Profpatsch
2020-12-19 13:36:03 +01:00
parent 5907bcadfa
commit cf81745404
2 changed files with 13 additions and 3 deletions
@@ -41,8 +41,10 @@ let
builtGrammars = let
change = name: grammar:
callPackage ./library.nix {
language = name; inherit version; source = fetchGrammar grammar;
callPackage ./library.nix {} {
language = name;
inherit version;
source = fetchGrammar grammar;
};
in
# typescript doesn't have parser.c in the same place as others