Add comment docstring plugin to nvim

This commit is contained in:
Alexander Navarro 2023-11-05 17:30:17 -03:00
parent 688db12b72
commit 6141e5a31f
3 changed files with 17 additions and 0 deletions

View file

@ -31,4 +31,19 @@ return {
MAP({ "n", "v" }, "gll", cb.cline, "Create a comment line")
end,
},
{
"danymat/neogen",
config = { snippet_engine = "luasnip" },
dependencies = { "nvim-treesitter/nvim-treesitter" },
version = "*", -- stable releases
keys = {
{
"gcd",
function()
require("neogen").generate()
end,
desc = "Generate comment docstring",
},
},
},
}