mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
26 lines
522 B
Nix
26 lines
522 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";
|
|
};
|
|
};
|
|
};
|
|
}
|