Vitor Antunes

Results 84 comments of Vitor Antunes

Branch [indent/indent_assign_on_symbol](https://github.com/vhda/verilog_systemverilog.vim/tree/indent/indent_assign_on_symbol) was created to add a new option to enable the behavior you expected. Please test it and report back.

What does this show? ```vim :set indentexpr? ``` Also, have you tried disabling all addons except this one?

I am unable to replicate your behavior, so I'm suspecting it's either a difference in vim's settings or a plugin that's modifying the indent behavior. For the first possibility I...

Hi @vineyg, Completely forgot about this issue, sorry. Do you have any updates?

On the third line you have a dollar (`$`) instead of an ampersand (`&`).

I get this by default: ```systemverilog assign abc = def & ghi & ( jkl | mno) & pqr; ``` And with `g:verilog_indent_assign_on_symbol=1`: ```systemverilog assign abc = def & ghi...

That's the desired. Try copying to Vim and open a new line after the instance, you will see that the indentation will match the offset introduced in the instance.

You need to keep the indentation of the instance exactly as I copied above and only indent **after** the instance.

Ups! Needs an `ifdef`. I've edited my example above. Sorry :)