2023-03-15 12:06:00 +01:00
|
|
|
{
|
|
|
|
empty = {
|
2024-10-23 09:22:29 -05:00
|
|
|
# Plugin deprecated
|
|
|
|
test.checkWarnings = false;
|
2023-03-15 12:06:00 +01:00
|
|
|
plugins.rust-tools.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
defaults = {
|
2024-10-23 09:22:29 -05:00
|
|
|
# Plugin deprecated
|
|
|
|
test.checkWarnings = false;
|
2023-03-15 12:06:00 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-09-09 14:24:39 -05:00
|
|
|
|
|
|
|
rust-analyzer-options = {
|
2024-10-23 09:22:29 -05:00
|
|
|
# Plugin deprecated
|
|
|
|
test.checkWarnings = false;
|
2024-09-09 14:24:39 -05:00
|
|
|
plugins.rust-tools = {
|
|
|
|
enable = true;
|
|
|
|
server = {
|
|
|
|
assist.expressionFillDefault = "default";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-03-15 12:06:00 +01:00
|
|
|
}
|