mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
plugins/nixd: Adapt to new options
Note that due to the structure of the code we can't introduce deprecation warnings, it results in: cannot find attribute `plugins.lsp.servers.nixd.settings.XXX`
This commit is contained in:
parent
2fd3a0493c
commit
908932b53c
3 changed files with 55 additions and 59 deletions
|
@ -7,30 +7,22 @@
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
eval = {
|
||||
target = {
|
||||
args = [
|
||||
"foo"
|
||||
"bar"
|
||||
];
|
||||
installable = "";
|
||||
};
|
||||
depth = 0;
|
||||
workers = 3;
|
||||
};
|
||||
nixpkgs.expr = ''
|
||||
import (builtins.getFlake "/home/lyc/workspace/CS/OS/NixOS/flakes").inputs.nixpkgs { }
|
||||
'';
|
||||
|
||||
formatting = {
|
||||
command = "nixpkgs-fmt";
|
||||
command = [ "nixpkgs-fmt" ];
|
||||
};
|
||||
|
||||
options = {
|
||||
enable = true;
|
||||
target = {
|
||||
args = [
|
||||
"yes"
|
||||
"no"
|
||||
"maybe"
|
||||
];
|
||||
installable = "";
|
||||
};
|
||||
nixos.expr = ''
|
||||
(builtins.getFlake "/home/lyc/flakes").nixosConfigurations.adrastea.options
|
||||
'';
|
||||
|
||||
home-manager.expr = ''
|
||||
(builtins.getFlake "/home/lyc/flakes").homeConfigurations."lyc@adrastea".options
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue