diff options
| -rw-r--r-- | autoload/prettier.vim | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/autoload/prettier.vim b/autoload/prettier.vim index 331d0f1..f0ab148 100644 --- a/autoload/prettier.vim +++ b/autoload/prettier.vim @@ -200,13 +200,6 @@ function! s:Prettier_Format_And_Save(lines, start, end) abort endfunction function! s:Prettier_Job_Error(msg) abort - call s:Prettier_Parse_Error(split(a:msg, '\n')) + call prettier#job#runner#onError(split(a:msg, '\n')) let s:prettier_job_running = 0 endfunction - -function! s:Prettier_Parse_Error(errors) abort - call prettier#logging#error#log('PARSING_ERROR') - if g:prettier#quickfix_enabled - call prettier#bridge#parser#onError(a:errors, g:prettier#quickfix_auto_focus) - endif -endfunction |
