mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 18:10:26 +01:00
First attempt at my own neovim setup, with inspiration from jcorbin
This commit is contained in:
16
.config/nvim/lua/plugins/python.lua
Normal file
16
.config/nvim/lua/plugins/python.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
"linux-cultist/venv-selector.nvim",
|
||||
dependencies = {
|
||||
"neovim/nvim-lspconfig",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
},
|
||||
ft = "python", -- Load when opening Python files
|
||||
opts = {
|
||||
search = {}, -- if you add your own searches, they go here.
|
||||
options = {} -- if you add plugin options, they go here.
|
||||
},
|
||||
event = 'VeryLazy', -- Optional: needed only if you want to type `:VenvSelect` without a keymapping
|
||||
keys = {
|
||||
{ "<leader>V", "<cmd>VenvSelect<cr>" }, -- Open picker on keymap
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user