aboutsummaryrefslogtreecommitdiff
path: root/autoload/prettier.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/prettier.vim')
-rw-r--r--autoload/prettier.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/prettier.vim b/autoload/prettier.vim
index 3602261..34577e9 100644
--- a/autoload/prettier.vim
+++ b/autoload/prettier.vim
@@ -125,7 +125,7 @@ function! s:Prettier_Job_Close(channel, startSelection, endSelection, bufferName
let l:currentBufferName = bufname('%')
let l:isInsideAnotherBuffer = a:bufferName != l:currentBufferName ? 1 : 0
- while ch_status(a:channel, {'part': 'out'}) == 'buffered'
+ while ch_status(a:channel) ==# 'buffered'
call add(l:out, ch_read(a:channel))
endwhile