Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to customize vrapper block indentation?

I know it is possible to increase or decrease indentation of a block using n>> like in Vim. This used to work on Vrapper in my environment until recently, but now it is no longer smart, converting tabs to spaces, and not respecting my default tab width.

I have tried uninstalling and reinstalling the plugin, and making .vrapperrc look similar to my .vimrc. Neither attempts made any difference.

like image 769
bsravanin Avatar asked Dec 12 '22 08:12

bsravanin


1 Answers

A friend helped out with a suggestion that worked. It had nothing to do with smartindent, or shiftwidth. Apparently :set expandtab is the default setting. Using :set noexpandtab took care of this for me.

(I use tabs, not spaces, let us not do that war. :-)

like image 144
bsravanin Avatar answered Dec 29 '22 12:12

bsravanin