mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
36 lines
779 B
Nix
36 lines
779 B
Nix
|
{pkgs}: {
|
||
|
example = {
|
||
|
plugins.lsp = {
|
||
|
enable = true;
|
||
|
|
||
|
servers.nixd = {
|
||
|
# TODO nixd is currently broken on Darwin
|
||
|
# https://github.com/nix-community/nixd/issues/107
|
||
|
# Thus, this test is currently disabled.
|
||
|
enable = !pkgs.stdenv.isDarwin;
|
||
|
|
||
|
settings = {
|
||
|
eval = {
|
||
|
target = {
|
||
|
args = ["foo" "bar"];
|
||
|
installable = "";
|
||
|
};
|
||
|
depth = 0;
|
||
|
workers = 3;
|
||
|
};
|
||
|
formatting = {
|
||
|
command = "nixpkgs-fmt";
|
||
|
};
|
||
|
options = {
|
||
|
enable = true;
|
||
|
target = {
|
||
|
args = ["yes" "no" "maybe"];
|
||
|
installable = "";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|