1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-25 03:39:40 +01:00

plugins/neogen: migrate to mkNeovimPlugin

Tracking: https://github.com/nix-community/nixvim/issues/2638
This commit is contained in:
Gaetan Lepage 2025-10-03 17:54:48 +02:00 committed by Matt Sturgeon
parent eb54f65d9b
commit 8bcb4c4a8c
3 changed files with 73 additions and 195 deletions

View file

@ -7,8 +7,6 @@
plugins.neogen = {
enable = true;
enablePlaceholders = false;
inputAfterComment = false;
keymaps = {
generate = "<leader>a";
generateClass = "<leader>b";
@ -17,26 +15,31 @@
generateType = "<leader>e";
};
keymapsSilent = true;
languages = {
csharp = {
template = {
annotation_convention = "...";
settings = {
enable_placeholders = false;
input_after_comment = false;
languages = {
csharp = {
template = {
annotation_convention = "...";
};
};
};
placeholder_hl = "None";
placeholders_text = {
attribute = "attribute";
class = "class";
description = "description";
kwargs = "kwargs";
parameter = "parameter";
throw = "throw";
tparam = "tparam";
type = "type";
varargs = "varargs";
};
snippet_engine = "vsnip";
};
placeholderHighlight = "None";
placeholdersText = {
attribute = "attribute";
class = "class";
description = "description";
kwargs = "kwargs";
parameter = "parameter";
throw = "throw";
tparam = "tparam";
type = "type";
varargs = "varargs";
};
snippetEngine = "vsnip";
};
};
}