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
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
config.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
packages.el Defer packages by default using use-package-always-defer 2018-02-27 23:32:52 -05:00
README.org Fix doc for chinese, transmission, d, command-log and idris layer 2018-01-19 19:41:40 +01:00

D language layer

/TakeV/spacemacs/media/commit/cff0bb19bff5ba66b6fa8b60356aa6fa9825a740/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