nvim-nim/other/tests/vim/vimtest.py
2016-02-08 00:47:29 +02:00

12 lines
194 B
Python

from neovim import attach
def cleanup(nvim):
nvim.command('bd!')
nvim.command('new')
def startNvim():
nvim = attach("socket", path="/tmp/nvim")
cleanup(nvim)
return nvim