2023-03-22 07:42:02 +01:00
|
|
|
{pkgs}: {
|
|
|
|
empty = {
|
|
|
|
plugins.treesitter.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nonix = {
|
|
|
|
# TODO: See if we can build parsers (legacy way)
|
|
|
|
tests.dontRun = true;
|
|
|
|
plugins.treesitter = {
|
|
|
|
enable = true;
|
|
|
|
nixGrammars = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-04-21 20:29:33 +02:00
|
|
|
nixvimInjections = {
|
|
|
|
plugins.treesitter = {
|
|
|
|
enable = true;
|
|
|
|
nixvimInjections = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-03-22 07:42:02 +01:00
|
|
|
# This needs a custom input
|
|
|
|
# custom = {
|
|
|
|
# plugins.treesitter = {
|
|
|
|
# enable = true;
|
|
|
|
# nixGrammars = true;
|
|
|
|
# grammarPackages = [
|
|
|
|
# (build-ts.lib.buildGrammar pkgs {
|
|
|
|
# language = "gleam";
|
|
|
|
# version = "0.25.0";
|
|
|
|
# source = gleam;
|
|
|
|
# })
|
|
|
|
# ];
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
}
|