diff options
| author | Mitermayer Reis <mitermayer.reis@gmail.com> | 2019-09-13 22:29:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-13 22:29:36 -0700 |
| commit | 2bc93788e5a48e25ba6ed8f8a46e05cbd65489f3 (patch) | |
| tree | 4a694e3f668534c6d0c5f1356c034755b8172fa6 /plugin/prettier.vim | |
| parent | e98b108ded5c906dde32db2f9856184e00dfc945 (diff) | |
| parent | 46fd3290d1c69fb394a79e5174e7c1aa69b885c0 (diff) | |
| download | vim-prettier-2bc93788e5a48e25ba6ed8f8a46e05cbd65489f3.tar.xz | |
Merge pull request #207 from prettier/issues/184-fixing-undo-step
Issues/184 fixing undo step
Diffstat (limited to 'plugin/prettier.vim')
| -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 aafa7a2..928630b 100644 --- a/plugin/prettier.vim +++ b/plugin/prettier.vim @@ -140,6 +140,6 @@ nnoremap <silent> <Plug>(PrettierCliPath) :PrettierCliPath<CR> augroup Prettier autocmd! if g:prettier#autoformat - autocmd BufWritePre *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue,*.yaml,*.html call prettier#Autoformat() + autocmd BufWritePre *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue,*.yaml,*.html noautocmd | call prettier#Autoformat() endif augroup end |
