This PR adds more comprehensive options for the nixd language server, including those necessary for formatting and completion. As mentioned in #4592, these options were previously absent.
The options added include:
lsp-nix-nixd-nixpkgs-expr, which provides completion for nixpkgs
lsp-nix-nixd-nixos-options-expr, which provides completion for NixOS options
lsp-nix-nixd-home-manager-options-expr, which provides completion for Home Manager options
lsp-nix-nixd-formatting-command, which sets the formatter used by nixd
This PR adds more comprehensive options for the nixd language server, including those necessary for formatting and completion. As mentioned in #4592, these options were previously absent.
The options added include:
lsp-nix-nixd-nixpkgs-expr
, which provides completion for nixpkgslsp-nix-nixd-nixos-options-expr
, which provides completion for NixOS optionslsp-nix-nixd-home-manager-options-expr
, which provides completion for Home Manager optionslsp-nix-nixd-formatting-command
, which sets the formatter used by nixdAn example configuration in Doom: