Script:973
Talk0
1,599pages on
this wiki
this wiki
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 requests
Edit
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
Comments
Edit
How to trigger recognition of ft=rest for files with .rest or .rst extensions?
- See Filetype.vim. JohnBeckett 08:12, August 17, 2011 (UTC)