plugins/rust-tools: remove module

This commit is contained in:
Austin Horstman 2025-10-06 14:59:04 -05:00
parent b633c99196
commit 98c0bd99a1
4 changed files with 7 additions and 283 deletions

View file

@ -1,93 +0,0 @@
let
# This plugin is deprecated
warnings = expect: [
(expect "count" 1)
(expect "any" "The `rust-tools` project has been abandoned.")
];
in
{
empty = {
test = { inherit warnings; };
plugins.rust-tools.enable = true;
};
defaults = {
test = { inherit warnings; };
plugins.rust-tools = {
enable = true;
executor = "termopen";
onInitialized = null;
reloadWorkspaceFromCargoToml = true;
inlayHints = {
auto = true;
onlyCurrentLine = false;
showParameterHints = true;
parameterHintsPrefix = "<- ";
otherHintsPrefix = "=> ";
maxLenAlign = false;
maxLenAlignPadding = 1;
rightAlign = false;
rightAlignPadding = 7;
highlight = "Comment";
};
hoverActions = {
border = [
[
""
"FloatBorder"
]
[
""
"FloatBorder"
]
[
""
"FloatBorder"
]
[
""
"FloatBorder"
]
[
""
"FloatBorder"
]
[
""
"FloatBorder"
]
[
""
"FloatBorder"
]
[
""
"FloatBorder"
]
];
maxWidth = null;
maxHeight = null;
autoFocus = false;
};
crateGraph = {
backend = "x11";
output = null;
full = true;
enabledGraphvizBackends = null;
};
server = {
standalone = true;
};
};
};
rust-analyzer-options = {
test = { inherit warnings; };
plugins.rust-tools = {
enable = true;
server = {
assist.expressionFillDefault = "default";
};
};
};
}