sublime-evernote icon indicating copy to clipboard operation
sublime-evernote copied to clipboard

syntax not working with build 3119

Open chew-z opened this issue 9 years ago • 2 comments
trafficstars

When openning a note (.enmd file) I am getting

Error loading syntax file "Packages/Evernote/Evernote.tmLanguage": Apparent recursion within a with_prototype action: 25000 context sanity limit hit

with latest build (3199). It worked fine with 3118 and previous.

There is no syntax highlighting etc.

chew-z avatar Jul 29 '16 02:07 chew-z

I have resolved this problem by erasing all plugins and reinstalling the ones I need. Too many dead trees apparently.

What gave me a hint was this thread in Sublime Text forum.

I might be wrong but I think the problems started when I switched from MarkdownEditing to MarkdownExtended plugin.

I had been still getting a lot of warnings in the console but they have disapeared after setting "md_syntax": "Markdown Extended.tmLanguage", in Evernote Syntax Settings.

Honestly I don't really understand what is purpose of "md_syntax:", it is not very clear to me from Readme but it seems it helped.

chew-z avatar Aug 02 '16 03:08 chew-z

Thanks for reporting. I have not installed v3199 so I cannot confirm. The md_syntax setting allows you to specify which syntax to load for evernote notes (when opened as markdown). There is no standard way AFAIK to detect which one the user associated to markdown and I wanted people to be able to use their favourite plugins instead of just applying the default one.

bordaigorl avatar Aug 02 '16 09:08 bordaigorl