plugins/refactoring: add missing option show_success_message

This commit is contained in:
Matt Sturgeon 2024-05-25 00:20:46 +01:00
parent e3b4315903
commit 61cc6e9f22
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 10 additions and 0 deletions

View file

@ -136,5 +136,13 @@ helpers.neovim-plugin.mkNeovimPlugin config {
} }
``` ```
''; '';
show_success_message = helpers.defaultNullOpts.mkBool false ''
Shows a message with information about the refactor on success. Such as:
```
[Refactor] Inlined 3 variable occurrences
```
'';
}; };
} }

View file

@ -23,6 +23,7 @@
extract_var_statements = { extract_var_statements = {
go = "%s := %s // poggers"; go = "%s := %s // poggers";
}; };
show_success_message = true;
}; };
}; };
}; };
@ -53,6 +54,7 @@
printf_statements = { }; printf_statements = { };
print_var_statements = { }; print_var_statements = { };
extract_var_statements = { }; extract_var_statements = { };
show_success_message = false;
}; };
}; };
}; };