You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kickstart.nvim/lua/custom/plugins/neogen.lua

30 lines
770 B
Lua

-- You can add your own plugins here or in other files in this directory!
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
--
return {
-----------------------------------------------------------------------------
-- EDITING SUPPORT PLUGINS
-- some plugins that help with python-specific editing operations
-- Docstring creation
-- - quickly create docstrings via `<leader>a`
{
'danymat/neogen',
opts = true,
keys = {
{
'<leader>a',
function()
require('neogen').generate()
end,
desc = 'Add Docstring',
},
},
},
}
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et