On Mon, Jun 8, 2009 at 10:34 AM, Ben Fritz wrote:
>
> On Jun 7, 6:43 pm, "Suresh Govindachar" wrote:
>> Which is the preferred way to diable runtime/indent/html.vim (instead of
>> just renaming the file)?
>
> Matt has given you a good way to disable the indent script for a
> single filetype. If you instead want to disable ALL indent scripts,
> don't turn them on in the first place. You probably have something
> like:
>
> filetype indent plugin on
>
> or
>
> filetype indent on
>
> in your .vimrc. Remove the "indent" keyword and none of your files
> will have the vimscript indent rules applied.
<pedantic>
Note that if you have a naughty distro that puts "filetype plugin
indent on" in the systemwide vimrc, that won't be enough - you'll need
to instead do
filetype off
filetype plugin on
</pedantic>
~Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---