61ed84be65
Previously, if a user set `python-backend` to `'lsp`, it would not do anything unless the user also manually added the `lsp` layer to the spacemacs `init.el` file. This commit updates the `python` layer to correctly add the dependency when needed, like the `c-c++` layer does.
15 lines
407 B
EmacsLisp
15 lines
407 B
EmacsLisp
;;; layers.el --- Python Layer declarations File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2019 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
|
|
|
|
(when (and (boundp 'python-backend)
|
|
(eq python-backend 'lsp))
|
|
(configuration-layer/declare-layer 'lsp))
|