nvim-autopairs
nvim-autopairs copied to clipboard
Make fast wrap befor punctuation
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Hello, I am always frustrated when I use fast wrap, the example is as below:
input: |hello, how are you;
|
is where the cursor at, and now I input "
at |
then input <M-e> to fast wrap
output: 'helloq howwareeyou$
if I input $, the result will be
'hello, how are you;'
buf what I want is
'hello, how are you';
Describe the solution you'd like A clear and concise description of what you want to happen. put wrap before punctuation.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I have added %;
to fast_wrap.pattern
, but it can not help
Additional context Add any other context or screenshots about the feature request here.
I am facing a similar issue with fast wrap, when making json objects I sometimes forget to wrap the properties in quotes so I wanna use fast wrap to fix it but I wants to add the quotes after the colon not before
I need this too, please give us this feature!
I need this too 🥺
This should be fixed, issue can be closed :)