From 4217bfb37ccd261110b9bac0903807f6db7f0aaa Mon Sep 17 00:00:00 2001 From: mitermayer Date: Fri, 4 May 2018 12:13:46 -0700 Subject: Removing unecessary method --- autoload/prettier.vim | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'autoload/prettier.vim') 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 -- cgit v1.3