2023-10-31 09:20:00 +00:00
|
|
|
{
|
|
|
|
empty = {
|
|
|
|
plugins.refactoring.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-05-24 17:36:48 +01:00
|
|
|
example = {
|
2023-10-31 09:20:00 +00:00
|
|
|
plugins.refactoring = {
|
|
|
|
enable = true;
|
2024-05-24 17:36:48 +01:00
|
|
|
|
|
|
|
settings = {
|
|
|
|
prompt_func_return_type = {
|
|
|
|
go = true;
|
|
|
|
};
|
|
|
|
prompt_func_param_type = {
|
|
|
|
go = true;
|
|
|
|
};
|
|
|
|
printf_statements = {
|
|
|
|
cpp = [ "std::cout << \"%s\" << std::endl;" ];
|
|
|
|
};
|
|
|
|
print_var_statements = {
|
|
|
|
cpp = [ "printf(\"a custom statement %%s %s\", %s)" ];
|
|
|
|
};
|
|
|
|
extract_var_statements = {
|
|
|
|
go = "%s := %s // poggers";
|
|
|
|
};
|
2024-05-25 00:20:46 +01:00
|
|
|
show_success_message = true;
|
2023-10-31 09:20:00 +00:00
|
|
|
};
|
2024-05-24 17:36:48 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-05-24 17:42:44 +01:00
|
|
|
withTelescope = {
|
|
|
|
plugins.telescope.enable = true;
|
|
|
|
|
|
|
|
plugins.refactoring = {
|
|
|
|
enable = true;
|
|
|
|
enableTelescope = true;
|
|
|
|
};
|
2024-09-20 13:37:35 -05:00
|
|
|
|
|
|
|
plugins.web-devicons.enable = true;
|
2024-05-24 17:42:44 +01:00
|
|
|
};
|
|
|
|
|
2024-05-24 17:36:48 +01:00
|
|
|
defaults = {
|
|
|
|
plugins.refactoring = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
prompt_func_return_type = {
|
|
|
|
go = false;
|
|
|
|
java = false;
|
|
|
|
cpp = false;
|
|
|
|
c = false;
|
|
|
|
h = false;
|
|
|
|
hpp = false;
|
|
|
|
cxx = false;
|
|
|
|
};
|
|
|
|
prompt_func_param_type = {
|
|
|
|
go = false;
|
|
|
|
java = false;
|
|
|
|
cpp = false;
|
|
|
|
c = false;
|
|
|
|
h = false;
|
|
|
|
hpp = false;
|
|
|
|
cxx = false;
|
|
|
|
};
|
|
|
|
printf_statements = { };
|
|
|
|
print_var_statements = { };
|
|
|
|
extract_var_statements = { };
|
2024-05-25 00:20:46 +01:00
|
|
|
show_success_message = false;
|
2023-10-31 09:20:00 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|