From 263d34324b5ad7f9c25f0d56db8d64c43c9c9d58 Mon Sep 17 00:00:00 2001 From: Adam Macumber Date: Wed, 9 Oct 2019 15:58:07 -0400 Subject: Update documentation to include autoformat_config_* options. --- doc/prettier.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 > -- cgit v1.3