We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
If I have a config like:
{ lib, pkgs, config, ...}: { systemd.se<TAB> }
autocomplete works
However if I have a config like:
{ lib, pkgs, config, ... }: { config = { systemd.s<TAB> }; }
auto complete does not work
However it does work when I have
{ lib, pkgs, config, ... }: { config = lib.mkIf true { systemd.se<TAB> }; }
Logs (Required)
E[16:35:36.158] 22467: option worker reported: -32001: attrname config not found in attrset
Configuration
If you have some custom configuration, please paste it here.
To Reproduce Steps to reproduce the behavior:
{ config = {}; }
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Currently a known issue, nixd's auto-completion works via a set of idioms, leading config may just be a missing form of idioms.
config
Sorry, something went wrong.
I can confirm that either add let in or lib.mkIf between confg = and { ... } can workaround this issue.
let in
lib.mkIf
confg =
{ ... }
No branches or pull requests
Describe the bug
If I have a config like:
autocomplete works
However if I have a config like:
auto complete does not work
However it does work when I have
Logs (Required)
Configuration
If you have some custom configuration, please paste it here.
To Reproduce
Steps to reproduce the behavior:
{ config = {}; }
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Screen.Recording.2024-08-02.at.16.34.20.mov
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: