Commits

David Wolever  committed d9627d9

Tweaking the closetag tag regexp so it matches mako tags

  • Participants
  • Parent commits 5e5c557

Comments (0)

Files changed (1)

File vim/plugin/closetag.vim

     let b:TagStack=""        " main stack of tags
     let startInComment=s:InComment()
 
-    let tagpat='</\=\(\k\|[-:]\)\+\|/>'
+    let tagpat='</\=\(\k\|[-:%]\)\+\|/>'
     " Search for: closing tags </tag, opening tags <tag, and unary tag ends />
     while (linenum>0)
 	" Every time we see an end-tag, we push it on the stack.  When we see an