diff options
| author | Mitermayer Reis <mitermayer.reis@gmail.com> | 2021-02-08 10:02:13 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-08 10:02:13 +1100 |
| commit | 560ab601d1b7bf58a0bb637451dc2e8c55b4b1ed (patch) | |
| tree | 728876e8f49fda20f45efa60c90ee66ce1f54cd7 | |
| parent | 90fd0d6c5f8410cf8344d4b0985533d3eb9fa223 (diff) | |
| parent | 60027b4a86428d5b06ae1e96d0ab1cd8a871053a (diff) | |
| download | vim-prettier-560ab601d1b7bf58a0bb637451dc2e8c55b4b1ed.tar.xz | |
Merge pull request #281 from roginfarrer/patch-2
Autoformat MDX
| -rw-r--r-- | plugin/prettier.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/prettier.vim b/plugin/prettier.vim index 8922492..3326f26 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,*.gql,*.markdown,*.md,*.mdown,*.mkd,*.mkdn,*.vue,*.yml,*.yaml,*.html,*.php,*.rb,*.ruby,*.xml noautocmd | call prettier#Autoformat() + autocmd BufWritePre *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.gql,*.markdown,*.md,*.mdown,*.mkd,*.mkdn,*.mdx,*.vue,*.yml,*.yaml,*.html,*.php,*.rb,*.ruby,*.xml noautocmd | call prettier#Autoformat() augroup end |
