JuliaEditorSupport/julia-vim

Dollar sign $ in docstrings, LaTeX

albinahlback opened this issue · 0 comments

Writing certain mathematical expressions in docstrings, like

@doc Markdown.doc"""
     $[0, 1)$
"""

will make the highlighting bug out because of $[ and/or unmatched parentheses. However, changing $[0, 1)$ to $[0, 1]$ or \$[0, 1)$ will make it work.

Would it be possible to change the behavior of $ in (certain) docstrings?