diff --git a/lua/custom/plugins/comments.lua b/lua/custom/plugins/comments.lua index 0f08fd7..bb8ffbb 100644 --- a/lua/custom/plugins/comments.lua +++ b/lua/custom/plugins/comments.lua @@ -1,6 +1,22 @@ return { "danymat/neogen", - config = true, + config = function() + require("neogen").setup { + enabled = true, + languages = { + lua = { + template = { + annotation_convention = "emmylua", -- for a full list of annotation_conventions, see supported-languages below, + }, + }, + python = { + template = { + annotation_convention = "google_docstrings", + }, + }, + }, + } + end, -- Uncomment next line if you want to follow only stable versions -- version = "*" } diff --git a/lua/custom/plugins/harpoon.lua b/lua/custom/plugins/harpoon.lua index 541fae5..e91b4e4 100644 --- a/lua/custom/plugins/harpoon.lua +++ b/lua/custom/plugins/harpoon.lua @@ -44,7 +44,7 @@ return { for _, idx in ipairs { 1, 2, 3, 4, 5 } do vim.keymap.set("n", string.format("%d", idx), function() harpoon:list():select(idx) - end) + end, { desc = string.format("Harpoon item jump %s", idx) }) end harpoon:extend {