Commit graph

19 commits

Author SHA1 Message Date
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
syl20bnr
ac30247811 [lsp] When used, make LSP the default backend for all supported lang
* Added a new function to each language to select the backend
* Use these new functions in all `pcase`.
2019-09-30 00:49:44 -04:00
smile13241324
c1e98e5a36 Make julia layer declare lsp layer as dependency if enabled 2019-09-10 23:00:34 +02:00
Guido Kraemer
22f51cf70a Update julia-layer 2019-09-10 22:35:18 +02:00
emacspace
c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Anton-Latukha
f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
Anton-Latukha
ba074bc908 layers: lang: new structure: general: add pure, multi-paradigm (&js) 2019-05-15 21:04:48 +03:00
JAremko
77c680160e Add placeholder tags 2019-05-05 20:40:47 +03:00
Guido Kraemer
2026b0e9e3 make julia layer work with new lsp-mode 2019-01-15 00:24:21 +02:00
emacspace
45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
emacspace
58a58ddee3 documentation fixes: Fri Oct 19 15:57:15 UTC 2018 2018-10-19 19:06:36 +03:00
Boris Buliga
633ff1dfa3
minor improvements for Julia readme file 2018-10-18 19:56:35 +03:00
Adam Beckmeyer
3d9c40b01d
Add warning that lsp doesn't work with Julia 1.0 yet 2018-10-18 19:53:20 +03:00
emacspace
0fb6470acf documentation fixes:Wed Oct 17 04:03:28 UTC 2018 2018-10-17 04:03:28 +00:00
emacspace
cca6bc15a8 documentation fixes:Sat Oct 13 23:09:18 UTC 2018 2018-10-13 23:09:18 +00:00
JAremko
cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Xiang Ji
b10dd39154 Julia: Add instructions for compiling language server. Fix typo. 2018-10-09 22:22:53 +01:00
gdkrmr
71bea49e48 add key bindings julia layer evil-surround 2018-08-16 23:55:27 +01:00
Adam Beckmeyer
42f9ad4290 Add dedicated julia layer 2018-08-11 09:16:15 +01:00