Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for custom write function. #1589

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
4 changes: 4 additions & 0 deletions plugin/firenvim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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