mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-04-15 09:08:37 +00:00
18 lines
349 B
Nix
18 lines
349 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.options) mkEnableOption;
|
|
inherit (lib.strings) fileContents;
|
|
in {
|
|
options.vim.healthcheck = {
|
|
enable = mkEnableOption "nvf healthchecks";
|
|
};
|
|
|
|
config = {
|
|
vim.additionalRuntimePaths = [
|
|
(pkgs.writeTextDir "autoload/health/nvf.lua" (fileContents ./autoload.lua)).outPath
|
|
];
|
|
};
|
|
}
|