This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/restructuredtext
2017-02-02 15:01:07 -05:00
..
img
local
packages.el restructuredtext: fix auto-complete conflicts with flyspell and linum 2017-02-02 14:56:13 -05:00
README.org restructuredtext: mention auto-complete-rst to README 2017-02-02 15:01:07 -05:00

reStructuredText layer

/TakeV/spacemacs/media/commit/36b6b29cde6fa7e4bfdfff4d9b90c4cceb8dba1f/layers/+lang/restructuredtext/img/restructuredtext.png

Description

The layer adds ReStructuredText (ReST) support to Spacemacs and adds some functions to rst-mode.

Note: to add Sphinx specific support use the layer sphinx.

Features

  • rst files are supported via Emacs built-in rst.el.
  • Lists are inserted by new functions.
  • Directives can be inserted easily.
  • auto-completion for directives and options via auto-complete-rst.
  • snippet support via yasnippet.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add restructuredtext to the existing dotspacemacs-configuration-layers list in this file.

Configuration

Auto-complete

For now auto-complete-rst only works with sphinx 1.4.9 and lower. New 1.5 release (as from December 2016) is not yet supported.