Skip to content

Commit 1b13d7c

Browse files
add two useful options to lsp-nix-nil that don't have ask-first defaults (#4359)
* add two useful options to lsp-nix-nil that don't have ask-first defaults * fix docstring...
1 parent 28b21c8 commit 1b13d7c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

clients/lsp-nix.el

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,18 @@
9393
:group 'lsp-nix-nil
9494
:lsp-path "nil.diagnostics.excludedFiles"
9595
:package-version '(lsp-mode . "8.0.1"))
96+
(lsp-defcustom lsp-nix-nil-max-mem 10000
97+
"Max Memory MB"
98+
:type 'number
99+
:group 'lsp-nix-nil
100+
:lsp-path "nil.nix.maxMemoryMB"
101+
:package-version '(lsp-mode . "8.0.1"))
102+
(lsp-defcustom lsp-nix-nil-auto-eval-inputs t
103+
"Auto Eval Inputs"
104+
:type 'boolean
105+
:group 'lsp-nix-nil
106+
:lsp-path "nil.nix.flake.autoEvalInputs"
107+
:package-version '(lsp-mode . "8.0.1"))
96108

97109
(lsp-register-client
98110
(make-lsp-client :new-connection (lsp-stdio-connection (lambda () lsp-nix-nil-server-path))

0 commit comments

Comments
 (0)