- Update copilot.lua, copilot-chat.lua AI integrations - Refactor jupytext.lua, slime.lua, venv-selector.lua for Python dev - Update dadbod.lua database tools, vimtex.lua LaTeX support - Clean up context.lua, render-markdown.lua, solarized.lua, monokai.lua - Update auto-dark-mode.lua, undotree.lua
28 lines
834 B
Lua
Executable file
28 lines
834 B
Lua
Executable file
return {
|
|
'linux-cultist/venv-selector.nvim',
|
|
cmd = 'VenvSelect',
|
|
dependencies = {
|
|
'neovim/nvim-lspconfig',
|
|
'nvim-telescope/telescope.nvim',
|
|
},
|
|
opts = {
|
|
settings = {
|
|
options = {
|
|
activate_venv_in_terminal = true,
|
|
notify_user_on_venv_activation = false, -- stops pulling nvim-notify at BufReadPre
|
|
debug = false, -- also turn off debug in production, it's noisy and slow
|
|
},
|
|
search = {
|
|
pyenv = {
|
|
command = 'fd python$ -E "*lib*" -E "*init*" ${PYENV_ROOT}/versions/*.*.*/envs',
|
|
on_telescope_result_callback = function(filename)
|
|
return filename:gsub(os.getenv('HOME'), '~'):gsub('/bin/python', '')
|
|
end,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
keys = {
|
|
{ ',v', '<cmd>VenvSelect<cr>', desc = 'Select Virtual Environment' },
|
|
},
|
|
}
|