Skip to content

Instantly share code, notes, and snippets.

@frostytear
Forked from mgedmin/rst-vim.md
Created June 21, 2018 01:53
Show Gist options
  • Save frostytear/0a244f681fecd3e142bcf832d69243a8 to your computer and use it in GitHub Desktop.
Save frostytear/0a244f681fecd3e142bcf832d69243a8 to your computer and use it in GitHub Desktop.
ReStructuredText + vim = ?

A list of interesting GH repos:

Vim itself ships a rst.vim maintained by Marshall Ward marshall.ward@gmail.com (originally by Nikolai Weibull).

Vim's rst.vim doesn't highlight doctests. I want a highlighter that highlights doctests.

  • mrsipan/vim-rst has a rstDoctestBlock and highlights Python code inside
  • mitsuhiko/vim-rst has a rstDoctestBlock syntax region, no Python highlighting
  • vim-scripts/rest.vim doesn't highlight doctests (but I had a patched version that did)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment