spacemacs/layers/+lang/crystal/config.el
Maximilian Wolff c3872f165c
[crystal] Add lsp support and revise key bindings
Also fixed not working flycheck integration.
2020-11-10 22:43:18 +01:00

23 lines
641 B
EmacsLisp

;;; config.el --- Crystal Layer Configuration File for Spacemacs
;;
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
;;
;; Author: Brantou <brantou89@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; variables
(spacemacs|define-jump-handlers crystal-mode crystal-def-jump)
(defvar crystal-enable-auto-format nil
"If non-nil then auto-format on save.")
(defvar crystal-backend nil
"The backend to use for IDE features.
Possible values are `lsp' and `company-crystal'.
If `nil' then 'company-crystal` is the default backend unless `lsp' layer is used")