aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2018-05-04 15:05:20 -0700
committermitermayer <mitermayer.reis@gmail.com>2018-05-04 15:05:20 -0700
commit26c9cb2d676c2bdc1f9c9e073fb9f15bb9e69cd4 (patch)
treed8ed650cea898c45137115b941d9604de3563390 /autoload
parent51f1f8ed69c8106da665cfa46261caf9a6cbd728 (diff)
downloadvim-prettier-26c9cb2d676c2bdc1f9c9e073fb9f15bb9e69cd4.tar.xz
Adding follow up todos
Diffstat (limited to 'autoload')
-rw-r--r--autoload/prettier/job/async/neovim.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/autoload/prettier/job/async/neovim.vim b/autoload/prettier/job/async/neovim.vim
index b369406..8bef25f 100644
--- a/autoload/prettier/job/async/neovim.vim
+++ b/autoload/prettier/job/async/neovim.vim
@@ -47,5 +47,11 @@ function! s:onExit(status, info, out, err) abort
return
endif
+ " TODO
+ " move this to the buffer util and let it abstract away the saving buffer
+ " from here
+ "
+ " TODO
+ " we should be auto saving in order to work similar to vim8
call nvim_buf_set_lines(a:info.buf_nr, a:info.start, a:info.end, 0, l:out)
endfunction