No change

A.J.Mechelynck wrote:
> 
> thesheep wrote:
>> For some reason the auto-indent features aren't working with HTML source
>> files (and I want them to).
>> 
>> I've tried these:
>> 
>> :filetype indent on
>> :set autoindent
>> 
>> I've also tried all these kinds of things:
>> 
>> :set shiftwidth=2
>> :set softtabstop=2
>> 
>> And then doing 'gg=G' to auto indent.
>> 
>> It indents my javascript nicely, but all the HTML is just pushed hard
>> left
>> 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'.
>> 
>> Any ideas?
> 
> What happens if you use
> 
>       :filetype plugin indent on
> 
> ?
> 
> 
> Best regards,
> Tony.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HTML-files-don%27t-auto-indent%2C-everything-else-does-tf2889782.html#a8075372
Sent from the Vim - General mailing list archive at Nabble.com.

Reply via email to