Updating README.md
This commit is contained in:
parent
112a28c888
commit
7172e62d99
26
README.md
26
README.md
@ -77,7 +77,7 @@ file basis using `ftplugin` or `autocmd`. For example, the `argwrap_tail_comma`
|
|||||||
|
|
||||||
* **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)*
|
*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**
|
* **argwrap_wrap_closing_brace**
|
||||||
|
|
||||||
Specifies if the closing brace should be wrapped to a new line.
|
Specifies if the closing brace should be wrapped to a new line.
|
||||||
|
Loading…
Reference in New Issue
Block a user