mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 15:35:30 +00:00
feat: fix for when internal formatter is true
This commit is contained in:
parent
c8b247b4d6
commit
2627d0484a
2 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ with builtins; let
|
|||
servers = {
|
||||
rnix = {
|
||||
package = pkgs.rnix-lsp;
|
||||
internalFormatter = true;
|
||||
internalFormatter = cfg.format.type == "nixpkgs-fmt";
|
||||
lspConfig = ''
|
||||
lspconfig.rnix.setup{
|
||||
capabilities = capabilities,
|
||||
|
|
@ -31,7 +31,7 @@ with builtins; let
|
|||
|
||||
nil = {
|
||||
package = pkgs.nil;
|
||||
internalFormatter = cfg.format.type != "nixpkgs-fmt";
|
||||
internalFormatter = true;
|
||||
lspConfig = ''
|
||||
lspconfig.nil_ls.setup{
|
||||
capabilities = capabilities,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue