2024-03-24 17:39:49 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
config =
|
2024-04-23 16:56:34 -05:00
|
|
|
lib.mkIf config.home.nvim.enable-lsp
|
2024-03-24 17:39:49 -05:00
|
|
|
{
|
|
|
|
programs.nixvim = {
|
|
|
|
plugins.rust-tools = {
|
|
|
|
enable = true;
|
2024-04-29 17:31:05 -05:00
|
|
|
server = {
|
|
|
|
checkOnSave = true;
|
|
|
|
check.command = "clippy";
|
|
|
|
};
|
2024-03-24 17:39:49 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|