I used filetype indent off in my plugin. Which is global and not localized
to the buffer. It works but the side effects are to much.
Has someone a solution?
Thanks Rene
I even did
let b:did_indent = 1
to no avail.
What you can do is make .vim/indent/html.vim with
let b:did_indent = 1
That does stop vim72/indent/html.vim from loading
Rene
To turn off indenting for a particular file type, create your own
indent plugin for that file type containing only this line:
let b:did_indent = 1
For HTML, for example, the name of your indent plugin on Unix would
be
~/.vim/indent/html.vim
See
:help 30.3
Regards,
Gary