-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backtick( and backtick{ start inline code block #143
Comments
sample text:
|
( and
{ start inline code block
( and
{ start inline code block(" and "
{" start inline code block
(" and "
{" start inline code block( and
{ start inline code block
( and
{ start inline code block( and
{ start inline code block
( and
{ start inline code block
I am not sure this is worth "fixing" but can track it here for now. The parser is doing the correct thing for this help text. related: |
Thank you so much for the modification. In fact, it is not only backtick( and backtick{, it is backtick(mark). Any marks (expect the backtick mark itself) following backtick have the same issue. See |
Yes, I don't think this can be solved without lookahead (i.e., an external scanner). It's usually better to rewrite the docs to avoid these situations (e.g., use quotes). |
Duplicate of #113 |
Sorry, if this is a duplicate of any other issues, forgive me, please. Thank you so much.
Problem
On the latest stable Neovim, the
help.txt
file does not highlight correctly. Especially for characters following ` (single backtick), all are highlighted just like a comment starting from the open backtick to the end of line.See the details here neovim/neovim#30930.
The text was updated successfully, but these errors were encountered: