Closed jfcherng closed 2 years ago
Thanks for doing this. I will evaluate and let you know my thoughts. I appreciate the approach to making this a fallback. I feel doing this as a "Hail Mary pass" when we are desperate to find a suitable language due to missing entries in the mapping is a fair approach.
The last thing we need is to update documentation on this. I'm thinking that overall this looks good.
@gir-bot lgtm
I'll go ahead and merge this and play around with it locally. I don't see any big concerns, so it is quite likely to make it into the next release.
Probably resolves https://github.com/facelessuser/sublime-markdown-popups/issues/102 @rchl @rwols
Answer to concerns in #102:
sublime.find_syntax_by_scope
, which is introduced in the very first ST 4 dev build, is available.mdpopups
or language map.