You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
562 B
19 lines
562 B
return {
|
|
"danymat/neogen",
|
|
config = function()
|
|
require("neogen").setup({
|
|
enabled = true,
|
|
snippet_engine = "luasnip",
|
|
placeholders_hl = "None", -- fixes weird bug where the entire page gets colored with this color
|
|
languages = {
|
|
python = {
|
|
template = {
|
|
annotation_convention = "google_docstrings"
|
|
}
|
|
}
|
|
}
|
|
|
|
})
|
|
nmap('<leader>d', ":lua require('neogen').generate()<CR>")
|
|
end
|
|
}
|
|
|