I'm using vim-easy-align plugin and when in bash
scripts I try to align $
at the beginning of variable names, the aligning adds spaces around the delimiter, i.e. <space>$<space>
which of course makes those variables meaningless.
Are there options or tips to temporarily or permanently disable this? for specific delimiters? That is, to allow spaces around =
and other delimiters, but not the variable leaders such as $
.
Should I make a \$\w
regex instead of just using the $
?
$
to theiskeyword
option (forsh
files) ?set iskeyword=@,$
with a shell file open and there was no difference in theeasy-align
results - still space on either side. Same spacey thing with=
signs and other characters used.margins
on each side of the character to align. I'll need to create a special function for all uses to make default left and right margins=0.