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/lua/config.el
Maximilian Wolff fc2aa2601c [lua] Revise layer and fix LSP integration
The lsp integration was not standard at all in
this layer I have refactored it now to be working
like the rest of Spacemacs.
2021-02-13 21:53:57 +00:00

23 lines
665 B
EmacsLisp

;;; config.el --- Lua Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; variables
(spacemacs|define-jump-handlers lua-mode)
(defvar lua-backend 'nil
"The backend to use for IDE features.
Possible values are `lua-mode' and `lsp'.
If `nil' then `lua-mode' is the default backend unless `lsp' layer is used.")
(defvar lua-lsp-server 'emmy
"Language server to use for lsp backend.
Possible values are `emmy', `lua-language-server', or `lua-lsp'.")