local map = require 'std.map' map.normal { description = 'Doc Comment', category = 'generate', keys = 'gdd', command = function () require 'neogen'.generate() end, } map.normal { name = 'Doc Comment for Function', category = 'generate', keys = 'gdm', command = function () require 'neogen'.generate { type = 'func', } end, } map.normal { description = 'Doc Comment for File', category = 'generate', keys = 'gdf', command = function () require 'neogen'.generate { type = 'file', } end, } map.normal { description = 'Doc Comment for Class', category = 'generate', keys = 'gdc', command = function () require 'neogen'.generate { type = 'class', } end, } map.normal { description = 'Doc Comment for Type', category = 'generate', keys = 'gdt', command = function () require 'neogen'.generate { type = 'type', } end, } return { 'danymat/neogen', dependencies = { 'nvim-treesitter/nvim-treesitter', }, opts = { snippet_engine = 'luasnip', }, }