You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a fix for this. It passes for both python 2.7 and 3.7.
While adding the unit test for the change, I also fixed a warning on test_buffer.py:96. Previously the module printed the warning below when run with python 3.7:
/home/noel/repo/pynvim/test/test_buffer.py:96: DeprecationWarning: invalid escape sequence \s
assert vim.options['define'] == '^\s*#\s*define'
I'm sending the pull request now
noelevans
added a commit
to noelevans/pynvim
that referenced
this issue
Jun 21, 2019
nvim --version
: NVIM v0.4.0-758-g9e0982a1a$TERM
:Steps to reproduce using
nvim -u NORC
Suppose there is a file bug.vim:
Source the file:
so %
This bug only happen when using python2, It works well for python3.
Actual behaviour
Result is (True, True) .
Expected behaviour
Result is (True, False) .
The text was updated successfully, but these errors were encountered: