diff --git a/plugin/firenvim.vim b/plugin/firenvim.vim index 03e3b8cd..3d782cc7 100644 --- a/plugin/firenvim.vim +++ b/plugin/firenvim.vim @@ -7,3 +7,7 @@ augroup FirenvimUIEnterAugroup autocmd! autocmd UIEnter * call firenvim#onUIEnter(deepcopy(v:event)) augroup END + +function FirenvimWrite() + return nvim_buf_get_lines(0, 0, -1, 0) +endfunction