2024-03-24 23:39:49 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
config =
|
2024-05-29 20:40:03 +02:00
|
|
|
lib.mkIf (config.user.nvim.enable-lsp && config.user.nvim.enable)
|
2024-03-24 23:39:49 +01:00
|
|
|
{
|
|
|
|
programs.nixvim = {
|
|
|
|
plugins.rust-tools = {
|
|
|
|
enable = true;
|
2024-04-30 00:31:05 +02:00
|
|
|
server = {
|
|
|
|
checkOnSave = true;
|
|
|
|
check.command = "clippy";
|
|
|
|
};
|
2024-03-24 23:39:49 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|