local map = require 'std.map' map.normal { description = 'Generate doc comment for outer element', category = 'editing', keys = 'gd', command = function () require 'neogen'.generate() end, } map.normal { name = 'Generate Doc Comment for Function', category = 'editing', keys = 'gdf', command = function () require 'neogen'.generate { type = 'func', } end, } map.normal { description = 'Generate Doc Comment for File', category = 'editing', keys = 'gdF', command = function () require 'neogen'.generate { type = 'file', } end, } map.normal { description = 'Generate Doc Comment for Class', category = 'editing', keys = 'gdc', command = function () require 'neogen'.generate { type = 'class', } end, } return { 'danymat/neogen', dependencies = { 'nvim-treesitter/nvim-treesitter', }, opts = {}, }