Do you want to request a feature or report a bug?
bug
What is the current/expected behavior?
Current:
- Save buffer
- Move to :term window while prettier is running in the background
- Vim freezes
- press ctrl+c, "Can't parse buffer" error appears.

- Go back to original pane, there are strange characters on top of the file

Expected:
vim-prettier can still update the old pane if you move to a term pane before it finishes
What version of vim-prettier are you using - (output of :PrettierVersion) ?
1.0.0-alpha
What version of prettier are you using - (output of :PrettierCliVersion) ?
2.0.5^@
What is your prettier executable path - (output of :PrettierCliPath) ?
prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Not sure, I recently switched from tmux to :term. I've been seeing occasionally at work but finally can repro consistently on my rasbperry pi since it's slower and gives me time to switch panes before prettier finishes.
Do you want to request a feature or report a bug?
bug
What is the current/expected behavior?
Current:
Expected:
vim-prettier can still update the old pane if you move to a term pane before it finishes
What version of
vim-prettierare you using - (output of:PrettierVersion) ?1.0.0-alpha
What version of
prettierare you using - (output of:PrettierCliVersion) ?2.0.5^@
What is your
prettierexecutable path - (output of:PrettierCliPath) ?prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Not sure, I recently switched from tmux to :term. I've been seeing occasionally at work but finally can repro consistently on my rasbperry pi since it's slower and gives me time to switch panes before prettier finishes.