Skip to content

habamax/vim-rst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-rst: reStructuredText for Vim

Installation

Clone to the ~/.vim/pack/plugins/start/vim-rst where plugins is an arbitrary directory name inside /pack:

git clone https://github.com/habamax/vim-rst ~/.vim/pack/plugins/start/

Or use instructions of your plugin manager of choice.

Difference to bundled reStructuredText

  • formatlistpat is added (although it doesn't handle ii. or I. etc.).
  • Arguably "sane" indentation.
  • Handle nested directives.
  • Inline markup highlighting takes care of a lot of edge cases and follows inline markup recognition rules.
  • Section highlighting doesn't clash with simple tables and has separate section delimiter highlight.
  • Roles are highlighted such as :kbd:`Enter`.
  • List items are highlighted.
  • Simple table delimiters with empty rows are highlighted.
  • Field lists and URLs are highlighted.
  • and more...

Additional things you could try

Screens

image

image

image

image

About

vim reStructuredText syntax and some more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published