mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +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 = {
|
||||
modulesPath = ../modules;
|
||||
# TODO: deprecate `helpers`
|
||||
helpers = self;
|
||||
} // extraSpecialArgs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue