spacemacs/layers/+lang/d
2021-03-25 22:59:32 -04:00
..
img
config.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
packages.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
README.org Switch to the new layers generator 2019-05-15 21:08:21 +03:00

D language layer

/TakeV/spacemacs/media/commit/03ab15ed36d265cb48c05d572638e21bc7508e26/layers/+lang/d/img/dlogo.png

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