plugins/neogen: init + test (#456)

This commit is contained in:
Antonín Říha 2023-06-30 15:33:26 +02:00 committed by GitHub
parent dfc00b2032
commit ff4c8cf8b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 244 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{
empty = {
plugins.neogen.enable = true;
};
example = {
plugins.neogen = {
enable = true;
enablePlaceholders = false;
inputAfterComment = false;
keymaps = {
generate = "<leader>a";
generateClass = "<leader>b";
generateFile = "<leader>c";
generateFunction = "<leader>d";
generateType = "<leader>e";
};
keymapsSilent = true;
languages = {
csharp = {
template = {
annotation_convention = "...";
};
};
};
placeholderHighligt = "None";
placeholdersText = {
attribute = "attribute";
class = "class";
description = "description";
kwargs = "kwargs";
parameter = "parameter";
throw = "throw";
tparam = "tparam";
type = "type";
varargs = "varargs";
};
snippetEngine = "vsnip";
};
};
}