SoloVim/lua/plugins/pymple.lua

24 lines
590 B
Lua

return {
"alexpasmantier/pymple.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
},
build = ":PympleBuild",
opts = {
-- automatically register the following keymaps on plugin setup
keymaps = {
-- Resolves import for symbol under cursor.
-- This will automatically find and add the corresponding import to
-- the top of the file (below any existing doctsring)
resolve_import_under_cursor = {
desc = "Resolve import under cursor",
keys = "<leader>li",
},
},
},
config = function(_, opts)
require("pymple").setup(opts)
end,
}