added env select and fixed neotest

pull/1664/head
GuillermoOM 4 months ago
parent 146a6baa30
commit 5a21b5fe2a

@ -5,6 +5,7 @@ return {
'nvim-lua/plenary.nvim',
'antoinemadec/FixCursorHold.nvim',
'nvim-treesitter/nvim-treesitter',
'nvim-neotest/neotest-python',
},
config = function()
require('neotest').setup {

@ -0,0 +1,17 @@
return {
'linux-cultist/venv-selector.nvim',
dependencies = {
'neovim/nvim-lspconfig',
'mfussenegger/nvim-dap',
'mfussenegger/nvim-dap-python', --optional
{ 'nvim-telescope/telescope.nvim', branch = '0.1.x', dependencies = { 'nvim-lua/plenary.nvim' } },
},
lazy = false,
branch = 'regexp', -- This is the regexp branch, use this for the new version
keys = {
{ '<leader>vs', '<cmd>VenvSelect<cr>', desc = 'Select Python Viertual Environment' },
{ '<leader>vc', '<cmd>VenvSelectCached<cr>', desc = 'Load Python Virtual Environment From Cache' },
},
---@type venv-selector.Config
opts = {},
}
Loading…
Cancel
Save