I believe this is a result of using the cindent option. Luckily, this can be configured by setting the cinkeys or cink option. This is a comma-separated list of keys that force a reindent. Remove the 0#, and your problems should disappear. Try this: set cink-=0#
In reply to Re: Can't get vim to stop outdenting Perl comments, any ideas?
by bv
in thread Can't get vim to stop outdenting Perl comments, any ideas?
by Tommy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |