开发者

C++ indentation not working on Vim

开发者 https://www.devze.com 2022-12-23 12:08 出处:网络
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 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

精彩评论

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