-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support & auto complete nixvim options #517
Comments
programs.nixvim = mkOption {
default = { };
type = types.submoduleWith {
shorthandOnlyDefinesConfig = true;
specialArgs = {
hmConfig = config;
inherit helpers;
};
modules = [ (import ./modules/hm.nix { inherit lib; }) ] ++ shared.topLevelModules;
};
}; currently all nixvim options are nested under "submodules". We have basic support for things like This is a funny case exists in real world, and I think it is mandatory to support it. Let's mark this issue an enhancement for this specific types. |
Trying to get completions from nixvim gets trouble, because all of its options are nested under a "submodule". The PR adds basic support for mangling submodule options into it's declaration, and completions for nixvim works. Fixes: #517
Where is this snippet coming from ? Nixvim codebase ? Anyway, thanks for your efforts in including Nixvim support in nixd ! |
|
Trying to get completions from nixvim gets trouble, because all of its options are nested under a "submodule". The PR adds basic support for mangling submodule options into it's declaration, and completion for nixvim works. Fixes: #517
The documentation part, see #520 |
Write documentation & serious testing about nixvim modules. It is a nice module system we'd like to cover.
The text was updated successfully, but these errors were encountered: