From 7172e62d99310817c0a49e2ec6069cc11b38549f Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 25 Oct 2016 19:15:48 -0700 Subject: [PATCH] Updating README.md --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1689f28..12b4cf4 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ file basis using `ftplugin` or `autocmd`. For example, the `argwrap_tail_comma` * **argwrap_tail_comma** - Specifies if the closing brace should be preceded with a comma when wrapping lines. + Specifies if any closing brace should be preceded with a comma when wrapping lines. *Tail comma disabled (default)* @@ -99,6 +99,30 @@ file basis using `ftplugin` or `autocmd`. For example, the `argwrap_tail_comma` ) ``` +* **argwrap_tail_comma_braces** + + Specifies which closing brace should be preceded with a comma when wrapping lines. + + *Tail comma disabled (default)* + + ``` + Foo( + wibble, + wobble, + wubble + ) + ``` + + *Tail comma enabled for square brackets only (`let g:argwrap_tail_comma_braces = '['`)* + + ``` + r = [ + 2, + 3, + 5, + ] + ``` + * **argwrap_wrap_closing_brace** Specifies if the closing brace should be wrapped to a new line.