Updating README.md

This commit is contained in:
Alex Yatskov 2016-10-25 19:15:48 -07:00
parent 112a28c888
commit 7172e62d99

View File

@ -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.