Skip to content

Nix#

Server#

For more information about the LSP server, check nix-nil.

Installation#

nix-env -i nil || nix profile install nixpkgs#nil

Debugger: Not available#

Available configurations#

lsp-nix-nil-auto-eval-inputs#

Type: boolean

Default: t

Auto Eval Inputs


lsp-nix-nil-exclude-files-diagnostic#

Type: lsp-string-vector

Default: nil

Files to exclude from showing diagnostics.


lsp-nix-nil-formatter#

Type: lsp-string-vector

Default: nil

External formatter command with arguments.

Example [nixpkgs-fmt].


lsp-nix-nil-ignored-diagnostics#

Type: lsp-string-vector

Default: nil

Ignored diagnostic kinds.


lsp-nix-nil-max-mem#

Type: number

Default: 10000

Max Memory MB


lsp-nix-nil-server-path#

Type: string

Default: nil

Executable path for the server.



Last update: November 19, 2024