Re: HTML files don't auto indent, everything else does
- thesheep wrote:
>For some reason the auto-indent features aren't working with HTML sourceSyntax highlighting is separate from indenting.
>files (and I want them to).
>I've tried these:
>:filetype indent on
>I've also tried all these kinds of things:
>And then doing 'gg=G' to auto indent.
>without any indentation.
>HTML syntax is highlighted OK, so I guess the filetype thing is working.
>My .vimrc file is pretty much emtpy: just says 'syntax on'.
show? If 0, indicates that indent/html.vim (or any indenting script)
was not loaded.
Unfortunately, if its 1, that means that some indenting script was
loaded (just not which one).
Continuing: what does
show? That should be: HtmlIndentGet(v:lnum) if html indenting was loaded.