[plug] vim and programming languages
Russell Steicke
russells at plug.linux.org.au
Tue Sep 3 16:32:17 WST 2002
Thanks to Anthony and Jason. After some experimentation I've settled
on:
~/.vimrc contains
:syntax on
:filetype on
And my .java source files have a modeline:
// vim: set shiftwidth=2 expandtab smartindent textwidth=95:
These seem to achieve the same as the emacs local variable settings as
in my original question. smartindent looks smart enough for what I want.
Ta.
More information about the plug
mailing list