Vim Tips Wiki

Changes: Script:973


Back to page

(Comments: reply)
(adjust Template:ScriptComments to remove id as no longer needed; minor tweaks)
Line 1: Line 1:
{{ScriptComments|973|rest: reStructuredText syntax mode}}
{{ScriptComments|rest: reStructuredText syntax mode}}
==Feature requests==
==Feature requests==

Latest revision as of 08:07, November 15, 2011

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)

Around Wikia's network

Random Wiki