Skip to content

fix:dap-python entries duplication#75

Draft
WillianFuks wants to merge 1 commit intoLunarVim:python-idefrom
WillianFuks:fix_dap_python_entries_duplication
Draft

fix:dap-python entries duplication#75
WillianFuks wants to merge 1 commit intoLunarVim:python-idefrom
WillianFuks:fix_dap_python_entries_duplication

Conversation

@WillianFuks
Copy link
Copy Markdown

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant