summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@krotosaudio.com>2025-03-03 17:22:41 +0000
committerMichaël Ball <michael.ball@krotosaudio.com>2025-03-03 17:22:41 +0000
commitc2c643259f0147aa0b88e9ca950d036a8ede0876 (patch)
treed352bfb98d09f84dc60c53935de70e0581584807
parent1a3292c87d343bc9b04487766655bb9bd2792bd6 (diff)
Python DAP update
-rw-r--r--neovim/.config/nvim/lua/plugins/nvim_dap.lua6
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