mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-17 07:33:27 +00:00
languages/nix: fix missing init_options when format enabled
This commit is contained in:
parent
850559fd51
commit
a37bce1194
1 changed files with 1 additions and 1 deletions
|
@ -72,6 +72,7 @@
|
||||||
else noFormat
|
else noFormat
|
||||||
},
|
},
|
||||||
cmd = ${packageToCmd cfg.lsp.package "nixd"},
|
cmd = ${packageToCmd cfg.lsp.package "nixd"},
|
||||||
|
options = ${toLuaObject cfg.lsp.options},
|
||||||
${optionalString cfg.format.enable ''
|
${optionalString cfg.format.enable ''
|
||||||
settings = {
|
settings = {
|
||||||
nixd = {
|
nixd = {
|
||||||
|
@ -87,7 +88,6 @@
|
||||||
command = {"${cfg.format.package}/bin/nixfmt"},
|
command = {"${cfg.format.package}/bin/nixfmt"},
|
||||||
},
|
},
|
||||||
''}
|
''}
|
||||||
options = ${toLuaObject cfg.lsp.options},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
''}
|
''}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue