Align right parenthesis on a different line to front #38
-
input:
output:
Is there way to configure so the right parenthesis goes to alight with foo? Like this:
|
Beta Was this translation helpful? Give feedback.
Answered by
LunarWatcher
Aug 8, 2021
Replies: 1 comment 1 reply
-
If it's a cino-compatible language, If |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
linw789
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If it's a cino-compatible language,
set cino+=m1
should work. That type if alignment is pretty standard for C languages by default though, so I'm assuming it's one of them. (Vim doesn't remotely try to align in Python by default).If
set cino+=m1
doesn't work, what language are we talking about? A plugin may be needed to get an indentexpr that supports that.