e0b751bee3
Replace push with add-to-list in layer init functions and related code. Modify spacemacs|add-toggle to check for and update an existing toggle in spacemacs-toggles and only create a new toggle if none already existed. Replace a conditional push onto erc-packages with use of :toggle. When initializing which-key, set which-key-replacement-alist to its default or customized setting before adding all the Spacemacs replacements. We want to keep the stock replacements but avoid adding duplicates of the Spacemacs replacements. Replace the emacs-lisp-mode-hook lambda with a named function to avoid adding duplicate hooks (which can add duplicate definitions of the evil-surround pair). |
||
---|---|---|
.. | ||
img | ||
config.el | ||
packages.el | ||
README.org |
D language layer
Description
This simple layer adds support for the D language to Spacemacs.
Features:
- Syntax highlighting
- Auto completion via
company
- Syntax checking via
flycheck
Install
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add d
to the existing dotspacemacs-configuration-layers
list in this
file.
To enable auto completion, you need to install DCD. After successfully building DCD,
you need to copy the binary dcd-server
and dcd-client
in your path.
It is also recommended to install DUB a D language
package manager.
Key bindings
Key Binding | Description |
---|---|
SPC m g g |
Go to definition |
SPC m g b |
Jump back (after go to definition with above command) |
SPC m g r |
Find references to all symbol at point |
SPC m h h |
Display documentation of symbol under point |