4 ms·
What about HTML Indentation that Doesn’t Suck, as you wrote in "Coming home to VIM?"
by gglanzani 15y ago
What about HTML Indentation that Doesn’t Suck, as you wrote in "Coming home to VIM?"
- stevelosh 15y agoAh, 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.