siko1056 / language-sphinx

A Sphinx syntax package for Atom
GNU General Public License v3.0
4 stars 3 forks source link

Incorrect highlighting of literal:`\`` #3

Closed Benjamin-Lee closed 6 years ago

Benjamin-Lee commented 6 years ago

The string

literal:`\``

Should be an escaped backtick but instead highlights the entire area following it.

siko1056 commented 6 years ago

Thank you for the bug report. Are you referring to the literal feature? In this case, your example rather should be

:literal:`\``

which produces "more correct" highlighting. Otherwise can you give me a hint what you expect (maybe a larger portion of your documentation)?

Benjamin-Lee commented 6 years ago

Sorry, that was a typo on my part. It is

:literal:`\``

Here's an example of the incorrect highlighting: pic

siko1056 commented 6 years ago

Finally I found time to hopefully resolve your issue by 2a7c098. This will be part of the next update v0.1.8 coming soon this day. Would you give it a try @Benjamin-Lee and provide some feedback?

Benjamin-Lee commented 6 years ago

Fixed it! Thanks!!