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/+frameworks/phoenix
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
..
img
layers.el [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
packages.el Unify packages list parentheses style 2018-11-21 21:35:38 +00:00
README.org documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00

phoenix layer

/TakeV/spacemacs/media/commit/97ba5561429836078fde5eb2db8d200b42e14504/layers/+frameworks/phoenix/img/phoenix.png with /TakeV/spacemacs/media/commit/97ba5561429836078fde5eb2db8d200b42e14504/layers/+frameworks/phoenix/img/alchemist.png

Description

This layer adds key bindings for Alchemist's already built in phoenix mode.

Features:

  • Key bindings for navigation to files

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add phoenix to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

Key binding Description
SPC m f r Shows routes
SPC m f f w Find in web folder
SPC m f f v Find view
SPC m f f c Find controller
SPC m f f C Find channel
SPC m f f t Find template
SPC m f f m Find model
SPC m f f s Find static
SPC m f f r Find router