nix-community.nixvim/tests/test-sources/plugins/utils/refactoring.nix
2023-10-31 10:20:00 +01:00

30 lines
558 B
Nix

{
empty = {
plugins.refactoring.enable = true;
};
defaults = {
plugins.refactoring = {
enable = true;
promptFuncReturnType = {
go = true;
};
promptFuncParamType = {
go = true;
};
printVarStatements = {
cpp = [
"printf(\"a custom statement %%s %s\", %s)"
];
};
printfStatements = {
cpp = [
"std::cout << \"%s\" << std::endl;"
];
};
extractVarStatements = {
go = "%s := %s // poggers";
};
};
};
}