From 63a6a6acff5172d6892498d47d7fdb15ca6f790d Mon Sep 17 00:00:00 2001 From: Johan Venter Date: Thu, 24 Dec 2020 12:29:54 -0800 Subject: Stop blowing away the BufWritePre augroup in ftplugins --- plugin/prettier.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/prettier.vim b/plugin/prettier.vim index 829e1d9..8922492 100644 --- a/plugin/prettier.vim +++ b/plugin/prettier.vim @@ -174,5 +174,5 @@ nnoremap (PrettierCliPath) :PrettierCliPath augroup Prettier autocmd! - autocmd BufWritePre *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue,*.yaml,*.html noautocmd | call prettier#Autoformat() + autocmd BufWritePre *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.gql,*.markdown,*.md,*.mdown,*.mkd,*.mkdn,*.vue,*.yml,*.yaml,*.html,*.php,*.rb,*.ruby,*.xml noautocmd | call prettier#Autoformat() augroup end -- cgit v1.3