Hacker News new | comments | show | ask | jobs | submit login

What about HTML Indentation that Doesn’t Suck, as you wrote in "Coming home to VIM?"

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/bund...

You should update your post with this information unless it's there but I didn't notice it.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact