aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorVu Tran <vu@vu-tran.com>2017-06-21 21:21:24 -0700
committerVu Tran <vu@vu-tran.com>2017-06-21 21:22:23 -0700
commit1d48f207c2912fd211fc4ffac1b54bb6e55cf88b (patch)
tree97d018ceb7f358204e5b1f4a6269701aef26a0d4 /README.md
parentb21e4f884af5a8355ab34109c954ec36ece87598 (diff)
downloadvim-prettier-1d48f207c2912fd211fc4ffac1b54bb6e55cf88b.tar.xz
add default config notes
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index de8fe41..4ed9fd3 100644
--- a/README.md
+++ b/README.md
@@ -97,6 +97,8 @@ autocmd BufWritePre,TextChanged,InsertLeave *.js,*.css,*.scss,*.less PrettierAsy
### Overwrite default prettier configuration
+**Note:** vim-prettier default settings differ from prettier intentionally. The default settings used on vim-prettier are meant to follow the same defaults that is used internally at Facebook and on Facebook open source projects.
+
```vim
" max line lengh that prettier will wrap on
g:prettier#config#print_width = 80