diff options
| author | Adam Macumber <adam.macumber@sharpnotions.com> | 2019-10-09 15:58:07 -0400 |
|---|---|---|
| committer | Adam Macumber <adam.macumber@sharpnotions.com> | 2019-10-09 15:58:07 -0400 |
| commit | 263d34324b5ad7f9c25f0d56db8d64c43c9c9d58 (patch) | |
| tree | e38a12924c1185a921f31f0ede8dc7ec212116d0 | |
| parent | 41d9c4778a8dc0439afee9c9000d7fa5b4b8be17 (diff) | |
| download | vim-prettier-263d34324b5ad7f9c25f0d56db8d64c43c9c9d58.tar.xz | |
Update documentation to include autoformat_config_* options.
| -rw-r--r-- | doc/prettier.txt | 10 |
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 > |
