From 49c3b3932e32dd0c78974727fa1e6e728142e2cc Mon Sep 17 00:00:00 2001 From: mitermayer Date: Mon, 18 Feb 2019 09:34:52 +0000 Subject: Prettier does not require the `parser` to be explicitly passed, it now can be inferred --- ftplugin/json.vim | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 ftplugin/json.vim (limited to 'ftplugin/json.vim') diff --git a/ftplugin/json.vim b/ftplugin/json.vim deleted file mode 100644 index a8213e8..0000000 --- a/ftplugin/json.vim +++ /dev/null @@ -1,10 +0,0 @@ -let b:prettier_ft_default_args = { - \ 'parser': 'json', - \ } - -augroup Prettier - autocmd! - if g:prettier#autoformat - autocmd BufWritePre *.json call prettier#Autoformat() - endif -augroup end -- cgit v1.3