Skip to content

Commit

Permalink
Fixing neovim offset for removing extra lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mitermayer committed May 9, 2018
1 parent 12a4d5a commit bce2e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/prettier/job/async/neovim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function! s:onExit(status, info, out, err) abort
let l:currentBufferNumber = bufnr('%')
let l:isInsideAnotherBuffer = a:info.buf_nr != l:currentBufferNumber ? 1 : 0
let l:last = a:out[len(a:out) - 1]
let l:out = l:last ==? '' ? a:out[0:len(a:out) - 3] : a:out
let l:out = l:last ==? '' ? a:out[0:len(a:out) - 2] : a:out

" parsing errors
if a:status != 0
Expand Down

0 comments on commit bce2e04

Please sign in to comment.