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/+tools/terraform/config.el
Maximilian Wolff 5dcf7ae8e6
[terraform] Revise terraform lsp support
Made lsp support for terraform follow the convention
that if not explicitly set the backend shall be
inferred from the loaded layers in the dotfile.
2020-06-22 21:27:12 +02:00

20 lines
628 B
EmacsLisp

;;; config.el -- terraform Layer configuration file for Spacemacs
;;
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
;;
;; Author: Harry Hull <harry.hull1@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; variables
(defvar terraform-auto-format-on-save nil
"If non-nil then call `terraform fmt' before saving the terraform buffer.")
(defvar terraform-backend nil
"The backend to use for IDE features.
Possible values are `lsp' and `company-terraform'.
If `nil' then 'company-terraform` is the default backend unless `lsp' layer is used")