Tuesday, July 24, 2012

C-indentation not working?

After starting vim (7.3.608) via

gvim -U NONE -u NONE test.c

and setting

nocompatible cindent indentexpr=cindent autoindent smartindent filetype=c

vim wouldn't autoindent a after { in the first line (stays on first column).

What am I doing wrong?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: