Skip to content

Commit

Permalink
Fix PrettierAsync unchanged buffer rendering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SamHowie committed Jun 15, 2018
1 parent 8de9150 commit 5785618
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/prettier.vim
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ function! s:Prettier_Job_Close(channel, startSelection, endSelection, bufferName
" nothing to update
if (s:Has_Content_Changed(l:out, a:startSelection, a:endSelection) == 0)
let s:prettier_job_running = 0
redraw!
return
endif

Expand Down

0 comments on commit 5785618

Please sign in to comment.