import initSettings from 'src/server/nvim/settings' ; import Nvim , { startNvimProcess , ProcNvimTransport , Transport } from '@vvim/nvim' ; const initNvim = ( { args , cwd , transport , } ) : void => { const proc = startNvimProcess ( { args , cwd } ) ; const nvimTransport = new ProcNvimTransport ( proc , transport ) ; const nvim = new Nvim ( nvimTransport ) ; initSettings ( { nvim , args , transport } ) ; } ; export default initNvim ;