vim-argwrap
vim-argwrap copied to clipboard
Wrap and unwrap function arguments, lists, and dictionaries in Vim
Example: ``` ``` wrap into ``` ```
Works well without conceal:  Not well aligned after conceal  Is there a way to calculate the indentation with respect to the length of the concealed characters?
Hi, This improvement aims to handle trailing comma with functions and methods in PHP. Since PHP 7.3 trailing comma in function calls is a valid syntax. But until PHP 8...
Having an option to make lists start on the same line would be convenient. eg: ``` cpp void foo(Bar none, Bar one, Bar two); // becomes void foo(Bar none, Bar...
Let's say I have the following method: ``` python def foo(hello, world, ohai): pass ``` Now I put my cursor on the first 'h' in 'hello'. After calling ArgWrap the...
`` wrap to: ``` ```
In CMakeLists.txt, arguments are just words separated by spaces. These cannot be wrapped cause argwrap plugin looks for comma as delimiter between words. Can you make the delimiter configurable as...
Try `:ArgWrap` this piece of code: ```js data: {text: 1, anotherText: "it's me", bool: true} ``` You will find that it stops splitting after the 2nd comma. My guess is...
It would be great if this could have an option to support comma first syntax. An example: ``` var target = { host: this.domain , port: this.port , path: '/'...
Consider the following line: ``` [1, 2, 3] ``` When I have the cursor inside the brackets or on the closing bracket ``` [1, 2, 3] ^ ``` the plugin...