diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |
