开发者

C++ indentation not working on Vim

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜