Vim Tips Wiki


1,623pages on
this wiki
Add New Page
Add New Page Talk0

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)

Also on Fandom

Random Wiki