mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib/modules: specify modulesPath
`specialArgs.modulesPath` can be used to allow users to manually import modules relative to our `./modules` directory. It is also used by the module system to provide a base path for relative `disabledModules` paths.
This commit is contained in:
parent
b5efe91c52
commit
16662760a9
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
modulesPath = ../modules;
|
||||||
# TODO: deprecate `helpers`
|
# TODO: deprecate `helpers`
|
||||||
helpers = self;
|
helpers = self;
|
||||||
} // extraSpecialArgs;
|
} // extraSpecialArgs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue