nix-community.nixvim/tests/test-sources/plugins/utils/refactoring.nix

27 lines
522 B
Nix
Raw Normal View History

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