Add negoen plugin

This commit is contained in:
pro100ton 2025-02-01 11:05:39 +03:00
parent 8b4cda3834
commit 053816706e
2 changed files with 19 additions and 0 deletions

7
lua/custom/neogen.lua Normal file
View file

@ -0,0 +1,7 @@
require("neogen").setup {
enabled = true
}
local keymap = vim.keymap
local opts = { noremap = true, silent = true }
keymap.set("n", "<Leader>ids", ":lua require('neogen').generate()<CR>", opts)

View file

@ -0,0 +1,12 @@
-- Plugin for generating annotations
return {
{
"danymat/neogen",
config = true,
-- Uncomment next line if you want to follow only stable versions
version = "*",
config = function()
require "custom/neogen"
end,
}
}