Open lyokha opened 8 years ago
Thanks for the report. Can you open a PR with this change? (if not, I'll add it) It looks benign. And yes, that was a typo (or there was something I forgot to add :p ).
Ok, I'll make a PR. There is another interesting folding issue I'm fighting with, but it seems to regard with general vim settings.
I am seeing this or a very similar issue with anonymous hyperlinks:
I'm writing a `link <https://example.com>`__.
I'm going to write another link that has the same text but a different
URL, so I used an
`anonymous <https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#toc-entry-52>`_ link.
Now that we can see this incorrectly bolded text, here's another `link <https://another.com>`__.
And now the bold text is gone.
Here's how this renders with syntax=pandoc.rst
:
I use following pandoc-vim-syntax settings:
Imagine that there is an URL with double underscores within (a bit stupid and certainly rare, but for example links to C++ boost docs that I used may contain them). Here is an example:
(I also removed a comma in the second hunk because it looks like a typo!)