terraform: add layer
This commit is contained in:
parent
1e32324f81
commit
4ee9354c6e
25
contrib/config/terraform/README.md
Normal file
25
contrib/config/terraform/README.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Terraform contribution layer for Spacemacs
|
||||
|
||||
![Terraform logo](img/terraform.png)
|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc/generate-toc again -->
|
||||
**Table of Contents**
|
||||
|
||||
- [Terraform contribution layer for Spacemacs](#terraform-contribution-layer-for-spacemacs)
|
||||
- [Description](#description)
|
||||
- [Install](#install)
|
||||
|
||||
<!-- markdown-toc end -->
|
||||
|
||||
## Description
|
||||
|
||||
This layer provides syntax support for Terraform `.tf` files using
|
||||
[terraform-mode](https://github.com/syohex/emacs-terraform-mode).
|
||||
|
||||
## Install
|
||||
|
||||
To use this layer add it to your `~/.spacemacs`
|
||||
|
||||
```elisp
|
||||
(setq-default dotspacemacs-configuration-layers '(terraform)')
|
||||
```
|
15
contrib/config/terraform/extensions.el
Normal file
15
contrib/config/terraform/extensions.el
Normal file
|
@ -0,0 +1,15 @@
|
|||
;;; extensions.el --- terraform Layer extensions File for Spacemacs
|
||||
;;
|
||||
;; Copyright (c) 2012-2014 Sylvain Benner
|
||||
;; Copyright (c) 2014-2015 Brian Hicks & Contributors
|
||||
;;
|
||||
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
||||
;; URL: https://github.com/syl20bnr/spacemacs
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;;; License: GPLv3
|
||||
|
||||
(setq terraform-pre-extensions '())
|
||||
|
||||
(setq terraform-post-extensions '())
|
BIN
contrib/config/terraform/img/terraform.png
Normal file
BIN
contrib/config/terraform/img/terraform.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 107 KiB |
23
contrib/config/terraform/packages.el
Normal file
23
contrib/config/terraform/packages.el
Normal file
|
@ -0,0 +1,23 @@
|
|||
;;; packages.el --- terraform Layer packages File for Spacemacs
|
||||
;;
|
||||
;; Copyright (c) 2012-2014 Sylvain Benner
|
||||
;; Copyright (c) 2014-2015 Brian Hicks & Contributors
|
||||
;;
|
||||
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
||||
;; URL: https://github.com/syl20bnr/spacemacs
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;;; License: GPLv3
|
||||
|
||||
;; List of all packages to install and/or initialize. Built-in packages
|
||||
;; which require an initialization must be listed explicitly in the list.
|
||||
(defvar terraform-packages
|
||||
'(terraform-mode))
|
||||
|
||||
;; List of packages to exclude.
|
||||
(defvar terraform-excluded-packages '())
|
||||
|
||||
(defun terraform/init-terraform-mode ()
|
||||
(use-package terraform-mode
|
||||
:defer t))
|
Loading…
Reference in a new issue