Fixing VIM to allow smart match finding using the percent key
Edited the file /usr/share/vim/vim70/syntax/smarty.vim Added the following code: ” HTML: thanks to Johannes Zellner and Benji Fisher. if exists(“loaded_matchit”) let b:match_ignorecase = 1 let b:match_skip = ‘s:Comment’ let b:match_words = ‘<:>,’ . \ ‘<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,’ . \ ‘<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,’ . \ ‘<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>’ endif This sets the HTML tag matching words for the matchit plug in when [...]
