I'm just looking for a very basic indentation scheme. In .vimrc
I have :set tabstop=2
. Adding :set smartindent
has the effect of indenting the code by four tabs, very strange? A single tab the size of four spaces would be fine (despite my preferred tabstop), but four tabs? What is the issue here? :set cindent
has the same effect.
edit: vim 7.4 on ubuntu 16.04