Emacs lisp to read dependency information from dub and add syntax highlighting via flycheck that resolves package dependencies.
Basically tells emacs/flycheck how to call dmd with the right -I
and -J
flags.
Add this to your .emacs
/ init.el
:
(add-hook 'd-mode-hook 'flycheck-dmd-dub-set-variables)
Install from MELPA or MELPA Stable with:
M-x package-install RET flycheck-dmd-dub.