pocco81 / dap-buddy.nvim

🐞 Debug Adapter Protocol manager for Neovim
GNU General Public License v3.0
400 stars 48 forks source link

fix: python debugger recognised as unmet dependency even when it is already installed #37

Closed morphisjustfun closed 2 years ago

morphisjustfun commented 2 years ago

return_exe(cmd, raw) returns

exists /usr/bin/python

which is not equal to

exists

in the case of the python debugger. So instead of using strict equality a prefix searching could be used.

pocco81 commented 2 years ago

Nice solution. The code looks a-ok, but did you test it yet?

morphisjustfun commented 2 years ago

Yep, i'm using it right now