nix-community.nixvim/tests/test-sources/plugins/by-name/rust-tools/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

90 lines
1.7 KiB
Nix
Raw Normal View History

{
empty = {
2024-10-23 09:22:29 -05:00
# Plugin deprecated
test.checkWarnings = false;
plugins.rust-tools.enable = true;
};
defaults = {
2024-10-23 09:22:29 -05:00
# Plugin deprecated
test.checkWarnings = false;
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 = {
2024-10-23 09:22:29 -05:00
# Plugin deprecated
test.checkWarnings = false;
plugins.rust-tools = {
enable = true;
server = {
assist.expressionFillDefault = "default";
};
};
};
}