Skip to content

Conversation

@Elkasitu
Copy link

@Elkasitu Elkasitu commented Sep 13, 2017

Neovim v0.2.0 support added (tested), shouldn't break vim support (not tested)

Newest pudb requires that bp objects contain a cond attribute, if they don't the program breaks and you get a traceback, solution for now is to assign None to self.cond during BP init, which works but is not ideal if anyone wants to actually add a BP condition.

Python code is now within their own files for easier modification/readability.

Not mentioned in any of the commits but I added a check to see if (neo)vim was compiled with python3, so that if it was compiled with it, it wouldn't break because it didn't have +python but +python3, since the python code should be py2 and py3 compatible.

PS: Should probably check if neovim is being used instead of vim with has('nvim') and passing it as an arg to the python scripts

Adrian Torres added 2 commits September 13, 2017 08:57
Fix rel path issue

Fix rel path issue part 2

if !has("python")
echo "Error: Required vim compiled with +python"
if !has("python") && !has("python3")
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Program will now execute correctly if (neo)vim has either +python or +python3 compilation flags

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