aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorSam Howie <samhowie@gmail.com>2018-06-15 01:09:36 -0700
committerSam Howie <samhowie@gmail.com>2018-06-15 01:09:36 -0700
commit578561873cb4772baee2c6d0e7e3ab9cd60d2995 (patch)
treeedd00033e4a0f4397b719a4c37da3d2f47049e22 /autoload
parent8de915079f143729dad857273fb8fdd5753657ee (diff)
downloadvim-prettier-578561873cb4772baee2c6d0e7e3ab9cd60d2995.tar.xz
Fix PrettierAsync unchanged buffer rendering issue
Diffstat (limited to 'autoload')
-rw-r--r--autoload/prettier.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/prettier.vim b/autoload/prettier.vim
index b94ea4a..7b20b25 100644
--- a/autoload/prettier.vim
+++ b/autoload/prettier.vim
@@ -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