You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# works like a charm, thanks for your wonderful plugin !
Thank you kindly :)
I've pushed fixes to both issues. For the first one, it was something that worked as a side effect of arrays being essentially split like function calls -- syntactically, expanding the last hash like that is a thing that works and I've had issues and PRs related to this. But it seems I forgot to consider that it makes sense not to do it by default, so I've added a new option that enables it, ruby_expand_options_in_arrays, and your case should work correctly out of the box now.
The second issue just looks like an oversight on my part. I've tweaked the relevant regexes to allow a single capital variable to work as a module name. I don't see any issues in the tests, so I think it should be safe.
Vim version: 9.0
language: Ruby
With a line like:
placing the cursor on the beginning of the array (
[
) then pressinggS
gives me:when I'm expecting:
Also, but I guess it's known and it's clearly and edge-case, joining modules with named as a single letter fails:
Both modules need to be named with multiple letters in order to be successfully joined
The text was updated successfully, but these errors were encountered: