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

Markdown extended break shell syntax with st3 > 3118 #138

Closed BarbUk closed 8 years ago

BarbUk commented 8 years ago

As reported in https://github.com/sublimehq/Packages/issues/565, with sublime text > 3118, Shell-Unix-Generic.sublime-syntax do not work anymore with the following error:

Error loading syntax file "Packages/ShellScript/Shell-Unix-Generic.sublime-syntax": Apparent recursion within a with_prototype action: 25000 context sanity limit hit

image

Removing the package or disabling it resolve the problem.

Tested on st3 3119 and 3120 on OSX 10.10.

jonschlinkert commented 8 years ago

How is that associated with this library? Sounds like a false positive to me

FichteFoll commented 8 years ago

Markdown Extended.sublime-syntax doesn't appear to be using with_prototype patterns for including shell, so it's probably caused by something else.

BarbUk commented 8 years ago

Indeed. Just did a fresh install and don't have the problem anymore.

doublerebel commented 8 years ago

I had this same issue, and I believe I found the cause:

In User Preferences.sublime-settings, I had "Markdown" in the "ignored_packages" list. Removing it from the list and restarting fixes the issue for me.

A similar bug caused by the setting is at SublimeText-Markdown/MarkdownEditing#115.

jonschlinkert commented 8 years ago

thanks for the updates guys!

zgracem commented 8 years ago

I was also having this issue on Build 3120, but my only ignored_packages were Vintage and Vintageous. Turns out I had installed CSS3 without disabling the built-in CSS package—once I did that and restarted Sublime, the Markdown Extended "sanity limit" error message went away.