I have noticed that :Preview with a `.rst. file can cause (multiple) lines of errors, e.g.
<string>:11: (ERROR/3) Error in "code" directive:
maximum 1 argument(s) allowed, 3 supplied.
.. code:: sh
make docker_build
After this, the Vim (terminal) window is a bit messed up, where the buffer line numbers do not match the actual content anymore. :redraw won't fix it, but :!reset.
It seems like this is caused because the rst2html command gets called in a special way by the plugin and/or ruby gem?!
A simple test.rst file that should produce an error:
I have noticed that
:Previewwith a `.rst. file can cause (multiple) lines of errors, e.g.After this, the Vim (terminal) window is a bit messed up, where the buffer line numbers do not match the actual content anymore.
:redrawwon't fix it, but:!reset.It seems like this is caused because the
rst2htmlcommand gets called in a special way by the plugin and/or ruby gem?!A simple test.rst file that should produce an error: