local prefix = "a" return { "danymat/neogen", cmd = "Neogen", opts = { snippet_engine = "luasnip", languages = { lua = { template = { annotation_convention = "ldoc" } }, typescript = { template = { annotation_convention = "tsdoc" } }, typescriptreact = { template = { annotation_convention = "tsdoc" } }, }, }, keys = { { prefix .. "", function() require("neogen").generate({ type = "current" }) end, desc = "Current" }, { prefix .. "c", function() require("neogen").generate({ type = "class" }) end, desc = "Class" }, { prefix .. "f", function() require("neogen").generate({ type = "func" }) end, desc = "Function" }, { prefix .. "t", function() require("neogen").generate({ type = "type" }) end, desc = "Type" }, { prefix .. "F", function() require("neogen").generate({ type = "file" }) end, desc = "File" }, }, }