I wrote a Flycheck frontend for LDC. It installs into Emacs fine, and I remember to
require it, but for some reason, it doesn't automatically enable itself when I open a file in
d-mode. What did I miss?
Edit: As per request, here are the relevant parts of my init file:
;;D (autoload 'd-mode "d-mode" "Major mode for editing D code." t) (add-to-list 'auto-mode-alist '("\\.d[i]?\\'" . d-mode)) ;;Flycheck (require 'flycheck-ldc) (add-hook 'after-init-hook #'global-flycheck-mode) (setq-default flycheck-disabled-checkers '(c/c++-clang))
Edit 2: As per request, here is the result of
C-c ! v in a
Syntax checkers for buffer logic.d in d-mode: d-dmd - predicate: nil - executable: Not found Flycheck Mode is enabled. The following syntax checkers are not registered: - d-ldc Try adding these syntax checkers to `flycheck-checkers'.