Hi,
Apologies if it has been asked or answered already. How do I enable code formatting (e.g. correct alignment of brackets, indentation within loops, etc).
At the moment my .vimrc contains:
if has('filetype')
filetype indent plugin on
endif
But it does not seem to do anything useful.
Thanks,
Olga