Skip to content

Conversation

@cosven
Copy link
Contributor

@cosven cosven commented Sep 30, 2018

adapt to prompt_toolkit 2.0: return application current buffer as editor current_buffer

return application current buffer as editor current_buffer
@cosven cosven changed the title return application current buffer as editor current_buffer bugfix: application current buffer as editor current_buffer Sep 30, 2018
@jonathanslenders jonathanslenders merged commit 573c064 into prompt-toolkit:master Oct 10, 2018
@jonathanslenders
Copy link
Member

Thanks! This makes sense indeed, but I wonder what functionality was crashing that required this fix.

@cosven
Copy link
Contributor Author

cosven commented Oct 11, 2018

@jonathanslenders
image
Pyvim will automatically add space for me at this case, it is very useful when I edit my code. However, I do want delete those trailing whitespace when I finish editing. I try to add a command delete-trailing-whitespace, and this problem stopped me.

I submit another PR here: add command delete-trailing-whitespace

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.

2 participants