-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding allign to comments #18
Comments
Both cases are possible. For the first case, The second one is a little tricky, you have to understand some alignment options. Without a custom alignment rule, it can be done with the following command:
Longer form may be easier to read:
This can be also done in interactive mode
If you do this often, you might want to a define custom alignment rule as follows: let g:easy_align_delimiters = {
\ '/': { 'pattern': '*/\?', 'ignore_groups': [], 'delimiter_align': 'l', 'left_margin': 0, 'right_margin': 0 }
\ } Then you can do it with a single keystroke: Does this answer your question? |
Yes. Yes it does. Thank you very much! |
Good to hear that. Feel free to ask me if you have any question. Thanks! |
I was wondering if the plugin could be extended by adding alignment to comments. Like in the following python code:
Which would produce:
Also, for comment using /**/. Like
Which would became
The text was updated successfully, but these errors were encountered: