[Neogen] Add (Doc generation)
This commit is contained in:
parent
c780d574b8
commit
1ac43ff80c
@ -15,7 +15,7 @@ return {
|
|||||||
"javascript",
|
"javascript",
|
||||||
"json",
|
"json",
|
||||||
"jsonc",
|
"jsonc",
|
||||||
"latex",
|
-- "latex",
|
||||||
"lua",
|
"lua",
|
||||||
"markdown",
|
"markdown",
|
||||||
"nginx",
|
"nginx",
|
||||||
|
10
nvim/lua/plugins/util/neogen.lua
Executable file
10
nvim/lua/plugins/util/neogen.lua
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
return {
|
||||||
|
"danymat/neogen",
|
||||||
|
config = function ()
|
||||||
|
local opts = { noremap = true, silent = true, desc = "Generate docs" }
|
||||||
|
vim.api.nvim_set_keymap("n", "<leader>gd", ":lua require('neogen').generate()<CR>", opts)
|
||||||
|
require( 'neogen' ).setup( {
|
||||||
|
snippet_engine = "luasnip"
|
||||||
|
} );
|
||||||
|
end
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user