aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMitermayer Reis <mitermayer.reis@gmail.com>2021-06-29 09:01:30 +1000
committerGitHub <noreply@github.com>2021-06-29 09:01:30 +1000
commitb210d32eb46e9256652f63d0f47abe2e9f5d8ee1 (patch)
tree8405d48b8d97f8cf05c41de831d8d549bd0a6ff3 /README.md
parentaa0607ca7a0f61e91365ecf25947312ff4796302 (diff)
parentd1c44f4a2d9f4b52fe13518d09f8b8257d2e7cf5 (diff)
downloadvim-prettier-b210d32eb46e9256652f63d0f47abe2e9f5d8ee1.tar.xz
Merge pull request #304 from 0x000def42/master
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5f8da66..69d8fae 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ yarn|npm installed globally.
" post install (yarn install | npm install) then load plugin only for editing supported files
Plug 'prettier/vim-prettier', {
\ 'do': 'yarn install',
- \ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] }
+ \ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'svelte', 'yaml', 'html'] }
```
or simply enable for all formats by:
@@ -225,7 +225,7 @@ To run vim-prettier not only before saving, but also after changing text or leav
" when running at every change you may want to disable quickfix
let g:prettier#quickfix_enabled = 0
-autocmd TextChanged,InsertLeave *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue,*.yaml,*.html PrettierAsync
+autocmd TextChanged,InsertLeave *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue,*.svelte,*.yaml,*.html PrettierAsync
```
### Overwrite default prettier configuration