Re: Indents in Java Source files...
- Will Rutherdale wrote:
[please send messages as plain text, not base64]
> Vim 6.0 Bug Alert!!!!!It will probably work a lot better if you delete Vim 6.0z and install
> I tried adding this to my vimrc file:
> :filetype on
> :filetype plugin indent off
> as recommended in the help pages.
> Vim didn't complain about these entries as such. However, these
> changes did sniff out a bug in the startup .vim files. The editor
> complained bitterly as follows:
> Error detected while processing /usr/share/vim/vim60z/ftplugof.vim:
> line 11:
> No such event: filetypeplugin *
> Error detected while processing /usr/share/vim/vim60z/indoff.vim:
> line 11:
> No such event: filetypeindent *
> Furthermore, it didn't achieve the intended effect. When I tried
> editing a C++ file, I was still thrown into cindent mode for the local
Vim 6.0. 6.0z was only an alpha version.
hundred-and-one symptoms of being an internet addict:
247. You use www.switchboard.com instead of dialing 411 and 555-12-12
for directory assistance.
/// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
>I've spent several hours messing around with itusing :set shiftwidth=4 fixed my issue w/java
>and haven't got it straightened out yet.
>I tried this line in my .vimrc to no avail:Have you tried :set nosmartindent?