aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJohan Venter <johan@saasquatch.com>2020-12-24 12:29:54 -0800
committerJohan Venter <johan@saasquatch.com>2020-12-24 12:29:54 -0800
commit63a6a6acff5172d6892498d47d7fdb15ca6f790d (patch)
tree552db5b3206cd30f319104d98ac9890fbacf4072 /plugin
parent671ca8bd00052cf011c2f276587c95a20557a014 (diff)
downloadvim-prettier-63a6a6acff5172d6892498d47d7fdb15ca6f790d.tar.xz
Stop blowing away the BufWritePre augroup in ftplugins
Diffstat (limited to 'plugin')
-rw-r--r--plugin/prettier.vim2
1 files changed, 1 insertions, 1 deletions
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 <silent> <Plug>(PrettierCliPath) :PrettierCliPath<CR>
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