jonschlinkert / sublime-markdown-extended

Top 100 Sublime Text plugin! Markdown syntax highlighter for Sublime Text, with extended support for GFM fenced code blocks, with language-specific syntax highlighting. YAML Front Matter. Works with ST2/ST3. Goes great with Assemble.
https://github.com/jonschlinkert
MIT License
660 stars 96 forks source link

`case` keyword issue #118

Closed szhu closed 8 years ago

szhu commented 8 years ago
screen shot 2016-02-14 at 5 10 42 pm
SuperPaintman commented 8 years ago

The shell comments begin with #

SuperPaintman commented 8 years ago
$ gulp dev # start a dev server
jonschlinkert commented 8 years ago

right, in ST 3013 some changes were made that makes highlighting less tolerant of errors. whenever you see this happen, it's probably because there is a syntax error in your example

szhu commented 8 years ago

Ah dammit it took me a while to realize what you were talking about. Thanks for pointing that out! Mistake not mine btw :)

Also, I'd imagine that while stricter syntax highlighting would be bad for cases like this, it probably leads to less discrepancies between the syntax highlighting and actual parsers, so I reluctantly welcome this change.