-
I'm trying to get auto-completion in nix-mode but is impossible. show-log.log I added a client: (after! lsp-mode
(lsp-register-client
(make-lsp-client :new-connection (lsp-stdio-connection "nixd")
:major-modes '(nix-mode)
:priority 1
:server-id 'nixd))) Added the minimum amount of server configuration to my flake.nix: { inputs, ... }:
{
# NixOS configuration.
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
} but I get no completion candidates still. I'm using this version of nixd:
|
Beta Was this translation helpful? Give feedback.
Answered by
jcs090218
Sep 19, 2024
Replies: 1 comment
-
The log looks normal to me. 🤔 A Nix client is already specified in this project. See https://github.com/emacs-lsp/lsp-mode/blob/master/clients/lsp-nix.el. I've tried it on macOS, and it works fine. It has only a few completions, but I can get it to work. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jcs090218
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The log looks normal to me. 🤔 A Nix client is already specified in this project. See https://github.com/emacs-lsp/lsp-mode/blob/master/clients/lsp-nix.el.
I've tried it on macOS, and it works fine. It has only a few completions, but I can get it to work.