junegunn / vim-easy-align

:sunflower: A Vim alignment plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot align on --!

pevhall opened this issue · comments

To whom it may concern,

I'm trying very hard to align on --!
Which is a VHDL doxygen comment

I have tried
:EasyAlign/--!/
and I have tried the above with different combinations of the \ escape character but I cannot seem to make it match.

I'm not sure what I am doing wrong. Any help would be great!

Thanks

Thanks junegunn worked like a charm!

If anyone else is interested my issue was that EasyAlign ignores comments by default. There are multiple ways to change this default behavior shown in the link junegunn provided above. The easiest way is to press CTRL-g in interactive mode to change the EasyAlign's behavior into not ignoring text selected.