You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain
Bug description
The autocomplete on special functions like pkgs, and homemanager doesnt seem to work, pressing tab doesn't show any options as it would with other functions.
Steps to reproduce
Using: doom emacs
Going into a nix configuration file
Pressing: tab on pkgs. /home-manager
Code:
(use-package nix-mode
:after lsp-mode
:custom
(lsp-disabled-clients '((nix-mode . nix-nil))) ;; Disable nil so that nixd will be used as lsp-server:config
(setopt lsp-nix-nixd-server-path "nixd"
lsp-nix-nixd-formatting-command [ "nixpkgs-alejandra" ]
lsp-nix-nixd-nixpkgs-expr "import (builtins.getFlake \"/etc/nixos/\").inputs.nixpkgs { }"
lsp-nix-nixd-home-manager-options-expr "(builtins.getFlake \"/etc/nixos\").homeConfigurations.unwary.options"
)
)
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
The autocomplete on special functions like pkgs, and homemanager doesnt seem to work, pressing tab doesn't show any options as it would with other functions.
Steps to reproduce
Using: doom emacs
Going into a nix configuration file
Pressing: tab on pkgs. /home-manager
Code:
Full code:
https://github.com/DrBuhu/.doom.d/blob/main/config.el
https://github.com/DrBuhu/.doom.d/blob/main/init.el
Expected behavior
List of packages/options of home home manager
Which Language Server did you use?
lsp-nixd
OS
Linux
Error callstack
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: