I am having trouble getting indentation to work in Vim. I am co开发者_如何学编程ding in C++. I use vim.nox on ubuntu 9.10 I have filetype plugin indent on I also tried set cident , set autoindent, set smartindent etc. Automatic indentation does not seem to work.
It is really hard to tell where your problem since you do not show your ~/.vimrc
. Do you activate filetype plugin
at all?
set filetype plugin on
精彩评论