pynvim
pynvim copied to clipboard
Change the data type of a Buffer so that it works correctly
from pynvim.api.buffer import *
Doesn't correctly import Buffer. __all__ is incorrectly defined as a tuple and as a result it tries importing each individual letter instead of the actual class.
In addition, the python reference explicitly defines that __all__ should be a list.