diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/prettier.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/prettier.txt b/doc/prettier.txt index 9a0f209..38fad26 100644 --- a/doc/prettier.txt +++ b/doc/prettier.txt @@ -14,6 +14,8 @@ INTRODUCTION *vim-prettier-introduction* A vim plugin wrapper for prettier, pre-configured with custom default prettier settings. +**Note:** requires `prettier` version 1.7.0+ + By default it will auto format javascript, typescript, less, scss, css, json, and graphql files that have '@format' annotation in the header of the file. @@ -123,6 +125,9 @@ However they can be configured by: " flow|babylon|typescript|postcss|json|graphql g:prettier#config#parser = 'flow' + + " cli-override|file-override|prefer-file + g:prettier#config#config_precedence = 'prefer-file' < ============================================================================== REQUIREMENT(S) *vim-prettier-requirements* |
