aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2018-05-04 12:13:46 -0700
committermitermayer <mitermayer.reis@gmail.com>2018-05-04 12:13:46 -0700
commit4217bfb37ccd261110b9bac0903807f6db7f0aaa (patch)
tree6cc941e74fe383098edccf5101c5594e5217ffd2 /autoload
parente78c17a9fa8aab9067a44f9836d46fa9dc2d5914 (diff)
downloadvim-prettier-4217bfb37ccd261110b9bac0903807f6db7f0aaa.tar.xz
Removing unecessary method
Diffstat (limited to 'autoload')
-rw-r--r--autoload/prettier.vim9
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