I currently work on a cms with .tpl files.
It's mainly HTML so I would lile vim to understand that I want to use an "HTML complient" mode for autoindent.
When I type text, it works, but when I try gg=G, vim remove all tabs and spaces befor each line instead of making a clen indentation for my file.
I suppose there is something to put in my .vimrc but I don't know what.
Do you have any idea ?