spacemacs/layers/+lang
syl20bnr 584392bd92 [core] Fix layer dependencies based on layer variables
There was a edge case with the declaration of the `lsp` layer in `layers.el`
files.
The `hy` layer depends on the `python` layer which in turn depends on the `lsp`
layer if and only if the `python-backend` layer variable is set to `lsp`.
When the `hy` layer was declared first then it declares the `python` layer
without its layer variables, thus the `lsp` layer was not declared because the
`python-backend` variable was not set.

The fix is to gather all the layer dependencies and resolve them only after all
the used layers have been declared.

* new function `configuration-layer/declare-layer-dependencies`
* replace all calls to `configuration-layer/declare-layer` by the new function
  except for distribution layers (we declare layer dependencies right away in
  distribution layers)
2019-09-30 02:00:48 -04:00
..
agda Fix #9429: Make agda layer retain indentation on paste. 2019-09-28 14:23:17 +02:00
alda tag docs 2019-05-28 17:35:49 +03:00
asciidoc Switch to the new layers generator 2019-05-15 21:08:21 +03:00
asm Add jump handlers for nasm-mode 2019-08-09 13:28:55 +02:00
autohotkey Add names to autohotkey mode prefixes 2019-08-08 12:53:16 +02:00
bibtex documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
c-c++ [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
clojure [Clojure] fix repl-buffer autoscroll when send forms. 2019-09-22 21:52:18 +02:00
coffeescript [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
common-lisp documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
coq [doc] Fix typos and add missing/remove extra ~ 2019-06-01 20:40:22 +02:00
crystal Switch to the new layers generator 2019-05-15 21:08:21 +03:00
csharp Switch to the new layers generator 2019-05-15 21:08:21 +03:00
csv Switch to the new layers generator 2019-05-15 21:08:21 +03:00
d Switch to the new layers generator 2019-05-15 21:08:21 +03:00
dart [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
dhall Switch to the new layers generator 2019-05-15 21:08:21 +03:00
elixir [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
elm documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
emacs-lisp Correct function-format keybinding in EL layer 2019-09-16 20:30:51 +02:00
erlang Switch to the new layers generator 2019-05-15 21:08:21 +03:00
ess documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
factor Switch to the new layers generator 2019-05-15 21:08:21 +03:00
faust Switch to the new layers generator 2019-05-15 21:08:21 +03:00
forth Switch to the new layers generator 2019-05-15 21:08:21 +03:00
fsharp Switch to the new layers generator 2019-05-15 21:08:21 +03:00
go [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
gpu Switch to the new layers generator 2019-05-15 21:08:21 +03:00
graphviz Switch to the new layers generator 2019-05-15 21:08:21 +03:00
groovy Switch to the new layers generator 2019-05-15 21:08:21 +03:00
haskell [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
html [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
hy [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
idris documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
ipython-notebook Switch to the new layers generator 2019-05-15 21:08:21 +03:00
java [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
javascript [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
jr Switch to the new layers generator 2019-05-15 21:08:21 +03:00
json [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
jsonnet Fixes flycheck support in jsonnet files 2019-07-06 18:59:38 +02:00
julia [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
kivy Add kivy layer 2019-08-26 17:09:46 +02:00
kotlin Switch to the new layers generator 2019-05-15 21:08:21 +03:00
latex add bindings to navigate between errors in tex mode 2019-06-28 20:32:11 +02:00
lua Switch to the new layers generator 2019-05-15 21:08:21 +03:00
major-modes Add kivy layer 2019-08-26 17:09:46 +02:00
markdown documentation formatting: Sun Jun 9 19:54:33 UTC 2019 2019-06-09 22:02:10 +02:00
mercury-layer Make flycheck-mercury init without require 2019-09-16 22:30:43 +02:00
nim documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
ocaml documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
octave [doc] Fix typos and add missing/remove extra ~ 2019-06-01 20:40:22 +02:00
pact Switch to the new layers generator 2019-05-15 21:08:21 +03:00
perl5 Improve point handling in perltidy functions 2019-06-21 19:04:34 +02:00
perl6 Switch to the new layers generator 2019-05-15 21:08:21 +03:00
php [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
plantuml Add a missing prefix for plantuml-mode 2019-05-31 18:12:41 +02:00
prolog Switch to the new layers generator 2019-05-15 21:08:21 +03:00
protobuf Switch to the new layers generator 2019-05-15 21:08:21 +03:00
purescript [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
python [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
racket updated racket logo 2019-07-25 06:30:06 +02:00
reasonml [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
restructuredtext Switch to the new layers generator 2019-05-15 21:08:21 +03:00
ruby [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
rust [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
scala [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
scheme [doc] Fix typos and add missing/remove extra ~ 2019-06-01 20:40:22 +02:00
semantic-web Switch to the new layers generator 2019-05-15 21:08:21 +03:00
shell-scripts [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
sml [doc] Fix typos and add missing/remove extra ~ 2019-06-01 20:40:22 +02:00
sql [sql] Add SPC m g prefix: goto 2019-07-13 16:06:53 +02:00
swift documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
typescript [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
vimscript Switch to the new layers generator 2019-05-15 21:08:21 +03:00
windows-scripts Switch to the new layers generator 2019-05-15 21:08:21 +03:00
yaml Switch to the new layers generator 2019-05-15 21:08:21 +03:00
yang Switch to the new layers generator 2019-05-15 21:08:21 +03:00
zig documentation formatting: Mon Aug 12 19:50:23 UTC 2019 2019-08-13 01:09:55 +02:00