LunarVim / starter.lvim

🚀 A great starting point for your LunarVim journey!
327 stars 63 forks source link

fix:dap-python entries duplication #75

Open WillianFuks opened 1 year ago

WillianFuks commented 1 year ago

Each time dap-python is setup it re-inserts the configurations for debugpy again.

This leads to duplicated entries for available options to run each time a new Python file is opened on nvim/lvim.

This PR proposes only setting up dap-python again if it hasn't been loaded yet (it fixed the issue for me but I'll send as a draft so others can confirm this behavior).