There's more than one way to do things | |
PerlMonks |
Re: Can't get vim to stop outdenting Perl comments, any ideas?by bv (Friar) |
on Jan 14, 2010 at 20:45 UTC ( [id://817473]=note: print w/replies, xml ) | Need Help?? |
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# print map{substr'hark, suPerJacent other l',$_,1}(11,7,6,16,5,1,15,18..23,8..10,24,17,0,12,13,3,14,2,4);
In Section
Seekers of Perl Wisdom
|
|