From 6132290b3e7d92db236bc7b11a246e1307e6332a Mon Sep 17 00:00:00 2001 From: Nick Thurow Date: Thu, 18 Jan 2018 11:20:44 -0600 Subject: Support the `--arrow-parens` configuration option --- doc/prettier.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/prettier.txt') diff --git a/doc/prettier.txt b/doc/prettier.txt index ad0f24e..f59c129 100644 --- a/doc/prettier.txt +++ b/doc/prettier.txt @@ -153,7 +153,10 @@ However they can be configured by: g:prettier#config#bracket_spacing = 'false' " put > on the last line instead of new line - g:prettier#config#jsx_bracket_same_line = 'true' + g:prettier#config#jsx_bracket_same_line = 'true' + + " avoid|always + g:prettier#config#arrow_parens = 'always' " none|es5|all g:prettier#config#trailing_comma = 'all' -- cgit v1.3