vim-argwrap icon indicating copy to clipboard operation
vim-argwrap copied to clipboard

Wrap and unwrap function arguments, lists, and dictionaries in Vim

Results 11 vim-argwrap issues
Sort by recently updated
recently updated
newest added

Example: ``` ``` wrap into ``` ```

Works well without conceal: ![image](https://user-images.githubusercontent.com/53520949/170725211-e8e58053-9cf6-43e4-9cc3-897e66380777.png) Not well aligned after conceal ![image](https://user-images.githubusercontent.com/53520949/170725327-2a11a120-f217-4df5-bd6f-447c94057de9.png) 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...

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