2015-12-02 14:23:39 +00:00
|
|
|
#+TITLE: Saltstack layer
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
[[file:img/saltstack.png]]
|
2015-08-26 06:44:52 +00:00
|
|
|
|
2016-03-31 02:59:55 +00:00
|
|
|
* Table of Contents :TOC_4_gh:noexport:
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#description][Description]]
|
2017-10-04 08:13:01 +00:00
|
|
|
- [[#features][Features:]]
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#install][Install]]
|
|
|
|
- [[#key-bindings][Key bindings]]
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
* Description
|
|
|
|
This layer provides syntax highlighting for Saltstack files.
|
|
|
|
|
2017-10-04 08:13:01 +00:00
|
|
|
** Features:
|
|
|
|
- Syntax highlighting
|
|
|
|
- Display of salt documentation
|
|
|
|
|
2015-06-10 16:44:30 +00:00
|
|
|
* Install
|
2016-01-06 05:21:55 +00:00
|
|
|
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
|
2016-07-17 11:31:19 +00:00
|
|
|
add =salt= to the existing =dotspacemacs-configuration-layers= list in this
|
2016-01-06 05:21:55 +00:00
|
|
|
file.
|
2015-09-06 03:16:30 +00:00
|
|
|
|
2017-10-04 08:13:01 +00:00
|
|
|
To view documentation in Emacs or inline with ElDoc, Python and the Salt Python
|
|
|
|
libraries must be installed on the system containing the files being edited.
|
|
|
|
|
2015-09-06 03:16:30 +00:00
|
|
|
* Key bindings
|
|
|
|
|
2015-10-30 11:20:58 +00:00
|
|
|
| Key Binding | Description |
|
|
|
|
|-------------+----------------------------------------------|
|
|
|
|
| ~SPC m p b~ | mmm-mode parse buffer via =mmm-parse-buffer= |
|