neovim / pynvim

Python client and plugin host for Nvim
http://pynvim.readthedocs.io/en/latest/
Apache License 2.0
1.48k stars 118 forks source link

[QUESTION] How to create buffer with pynvim? #479

Closed uvicorn closed 3 years ago

uvicorn commented 3 years ago

i want to do something like this: изображение (this is vim plug)

uvicorn commented 3 years ago

nvim_win_set_config

bfredl commented 3 years ago

call api functions like nvim.api.create_buffer(True, True) and win.api.set_config (where win is a window object).