aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index cf36367..f83fb6d 100644
--- a/README.md
+++ b/README.md
@@ -133,6 +133,18 @@ Enable auto formatting of files that have "@format" or "@prettier" tag
let g:prettier#autoformat = 1
```
+Toggle the `g:prettier#autoformat` setting based on whether a config file can be found in the current directory or any parent directory.
+
+```vim
+let g:prettier#autoformat_config_present = 1
+```
+
+A list containing all config file names to search for when using the `g:prettier#autoformat_config_present` option.
+
+```vim
+let g:prettier#autoformat_config_files = [...]
+```
+
Set the prettier CLI executable path
```vim