3 ms·
Ah, I finally figured that out actually. There were 2 problems: * Some of the elements aren't considered for indentation, but they should be. You just have t
by stevelosh 15y ago
Ah, I finally figured that out actually. There were 2 problems:
* Some of the elements aren't considered for indentation, but they should be. You just have the edit the HTML syntax that comes with Vim to add them to the list.
* I was actually using Django templates, and the tags weren't being considered for indentation. I wrote a little syntax file for those based on the ERB one: https://bitbucket.org/sjl/dotfiles/src/1b6ffba66e9f/vim/bundle/django-custom/indent/htmldjango.vim https://bitbucket.org/sjl/dotfiles/src/1b6ffba66e9f/vim/bund...
- bgaluszka 15y agoYou should update your post with this information unless it's there but I didn't notice it.