I'm having a difficult time to find an opening div in deeply nested HTML that has been poorly written. Is there a plugin out there that will give me support to jump to the equivalent open/closing div using vim/gvim/macvim and other variants?
views:
67answers:
2I have matchit.vim enabled, but it doesn't want to match div tags.. perhaps I'm doing something stupid.
randombits
2010-07-17 00:04:45
Did you do :set ft=html or whatever for your html files? What does :set ft? give you
meder
2010-07-17 00:14:59
did you read the matchit.vim page?
meder
2010-07-17 00:22:53
:set ft gives me filetype html
randombits
2010-07-17 01:25:48
also, my file doesn't end in .html, it's foo.html.erb.. not sure if that makes a difference.
randombits
2010-07-17 01:27:40