mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
30 lines
576 B
Nix
30 lines
576 B
Nix
|
{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;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
# 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;
|
||
|
# })
|
||
|
# ];
|
||
|
# };
|
||
|
# };
|
||
|
}
|