aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Macumber <adam.macumber@sharpnotions.com>2019-10-09 15:58:07 -0400
committerAdam Macumber <adam.macumber@sharpnotions.com>2019-10-09 15:58:07 -0400
commit263d34324b5ad7f9c25f0d56db8d64c43c9c9d58 (patch)
treee38a12924c1185a921f31f0ede8dc7ec212116d0
parent41d9c4778a8dc0439afee9c9000d7fa5b4b8be17 (diff)
downloadvim-prettier-263d34324b5ad7f9c25f0d56db8d64c43c9c9d58.tar.xz
Update documentation to include autoformat_config_* options.
-rw-r--r--doc/prettier.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/prettier.txt b/doc/prettier.txt
index c2b38fd..b56f6e1 100644
--- a/doc/prettier.txt
+++ b/doc/prettier.txt
@@ -114,6 +114,16 @@ CONFIGURATION *vim-prettier-configuration*
Enable auto formatting of files that have "@format" or "@prettier" tag
>
let g:prettier#autoformat = 1
+
+Enable auto formatting of files based on whether a Prettier configuration file has been
+found in the project directory or any parent directories.
+>
+ let g:prettier#autoformat_config_present = 1
+
+Configuration file names to search for when attempting to find an appropriate
+Prettier configuration file for the current project.
+>
+ let g:prettier#autoformat_config_files = [...]
<
Set the prettier CLI executable path
>