languages/nix: fix missing init_options when format enabled

This commit is contained in:
Ching Pei Yang 2025-09-13 16:20:20 +02:00
commit a37bce1194
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -72,6 +72,7 @@
else noFormat
},
cmd = ${packageToCmd cfg.lsp.package "nixd"},
options = ${toLuaObject cfg.lsp.options},
${optionalString cfg.format.enable ''
settings = {
nixd = {
@ -87,7 +88,6 @@
command = {"${cfg.format.package}/bin/nixfmt"},
},
''}
options = ${toLuaObject cfg.lsp.options},
},
},
''}