Wikia

Vim Tips Wiki

Script:973

Talk0
1,610pages on
this wiki
Revision as of 08:07, November 15, 2011 by JohnBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 vim.org).
  • This page may be out of date: check the script's vim.org 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

CommentsEdit

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