Skip to content

Commit 37b4cba

Browse files
committed
Ignore wildignore when expanding python path
Fixes https://github.com/mfussenegger/nvim-dap-python/issues/110
1 parent 51ecb08 commit 37b4cba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/dap-python.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ end
139139
---@param opts SetupOpts|nil See |dap-python.SetupOpts|
140140
function M.setup(adapter_python_path, opts)
141141
local dap = load_dap()
142-
adapter_python_path = adapter_python_path and vim.fn.expand(vim.fn.trim(adapter_python_path)) or 'python3'
142+
adapter_python_path = adapter_python_path and vim.fn.expand(vim.fn.trim(adapter_python_path), true) or 'python3'
143143
opts = vim.tbl_extend('keep', opts or {}, default_setup_opts)
144144
dap.adapters.python = function(cb, config)
145145
if config.request == 'attach' then

0 commit comments

Comments
 (0)