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/+lang/d
2017-05-30 10:22:45 +02:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
config.el Bump year in copyright headers 2017-01-05 23:08:17 -05:00
packages.el Fix d-mode flycheck imports on dub projects 2017-05-30 10:22:45 +02:00
README.org Add requirements list for D 2017-05-24 13:03:57 +02:00

D language layer

/TakeV/spacemacs/media/commit/484a99dad06c6bc466d9a479eb5f8ec9f0c95613/layers/+lang/d/img/dlogo.png

Description

This simple layer adds support for the D language. It adds d-mode as well as integrating it with auto-completion and syntax-checking.

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 smart D completion, you need to install DCD. Here are installation instructions. After successfully built DCD, you need to copy the binary dcd-server and dcd-client in bin/ directory to somewhere in your $PATH e.g. /usr/local/bin on Linux.

Requirements

  • DCD (completion)
  • DUB (dub projects)

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