brianc / jade-mode

Emacs major mode for jade template highlighting
MIT License
156 stars 41 forks source link

Unindented Tag Text Not Highlighting #13

Closed eethann closed 9 years ago

eethann commented 12 years ago

I'm having an issue with a jade docpad document file, basically a partial. All elements after the first level are highlighted correctly, however the first level elements (in this case "section" tags) are not highlighted.

An example section of the file is:

section.slide
  h2 Other supported entities:
  ul
    li comments
    li users
    li taxonomy terms

The h2, ul and li elements are all highlighted. The initial section element is not, though a class or id element appended to the section tag is colored correctly.

I'm running the latest MELPA version (20120730) and Emacs 24.

jpallari commented 12 years ago

Hi, eethann. I created pull request that should fix that bug.

tjefferson08 commented 9 years ago

This looks pretty fixed to me! Closing time!