mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-27 11:08:53 +02:00
plugins/neogen: init + test (#456)
This commit is contained in:
parent
dfc00b2032
commit
ff4c8cf8b3
3 changed files with 244 additions and 0 deletions
42
tests/test-sources/plugins/utils/neogen.nix
Normal file
42
tests/test-sources/plugins/utils/neogen.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue