diff options
-rw-r--r-- | neovim/.config/nvim/lua/plugins/nvim_dap.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/neovim/.config/nvim/lua/plugins/nvim_dap.lua b/neovim/.config/nvim/lua/plugins/nvim_dap.lua index 0de8468..f94fd0f 100644 --- a/neovim/.config/nvim/lua/plugins/nvim_dap.lua +++ b/neovim/.config/nvim/lua/plugins/nvim_dap.lua @@ -37,10 +37,10 @@ return { local pythonPath = function() local cwd = vim.loop.cwd() - if vim.fn.executable(cwd .. '/venv/bin/python') == 1 then - return cwd .. '/venv/bin/python' + if vim.fn.executable(cwd .. '/.venv/bin/python') == 1 then + return cwd .. '/.venv/bin/python' else - return '/Users/michael/.pyenv/shims/python3' + return '/opt/homebrew/bin/python3' end end |