riv.vim icon indicating copy to clipboard operation
riv.vim copied to clipboard

Sphinx function declaration syntax highlight issue

Open LinuxJedi opened this issue 10 years ago • 4 comments

This code breaks highlighting after the initial function declaration (also breaks in vim's own highlighter). GitHub's own Markdown processor for rst highlighting is more in-line with what I would expect.

.. c:function:: int main(int argc, char* argv[])

   .. note::
      This section is not highlighted

   .. code-block:: cpp

      // Neither is this

   :param argc: also no highlight

LinuxJedi avatar Jan 22 '15 12:01 LinuxJedi

... no not implement that... I think it's better not write this way

gu-fan avatar Jan 19 '18 13:01 gu-fan

There are many API docs written this way on ReadTheDocs.

But I work somewhere else now and this no longer affects me, it would affect API authors and OpenStack more. Feel free to close.

LinuxJedi avatar Jan 19 '18 14:01 LinuxJedi

Fine!

gu-fan avatar Jan 19 '18 14:01 gu-fan

Keep it open for same user

gu-fan avatar Jan 19 '18 14:01 gu-fan