Use this page to discuss script 973 rest: reStructuredText syntax mode

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

Feature requestsEdit

1. Field List Coloring

Field lists are critical for turning structured text into structured text data. It would be helpful to make the field name (inside the ":"s) a different color from the data associated associated with the field. This is as simple as defining an "rstFieldID":
syn region rstFieldID start=+^\s*:[^:]+ end=+[^:]:+
And in the link section, adding:
hi link rstFieldID Identifier


How to trigger recognition of ft=rest for files with .rest or .rst extensions?

See Filetype.vim. JohnBeckett 08:12, August 17, 2011 (UTC)

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.