pynvim icon indicating copy to clipboard operation
pynvim copied to clipboard

Change the data type of a Buffer so that it works correctly

Open farisachugthai opened this issue 5 years ago • 0 comments


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.

farisachugthai avatar Dec 15 '20 10:12 farisachugthai