diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2,6 +2,10 @@ 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.  @@ -133,6 +137,9 @@ g:prettier#config#trailing_comma = 'all' " 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) |
