26 lines
526 B
EmacsLisp
26 lines
526 B
EmacsLisp
;;; module-syntax.el --- syntax checking and highlights
|
|
;;; Commentary:
|
|
;;;
|
|
;;; Add syntax checking and special purpose highlights for
|
|
;;; programming. Let Emacs compile that shit code of yours into
|
|
;;; submission for you.
|
|
;;;
|
|
;;; Code:
|
|
|
|
(require 'module-pkg)
|
|
|
|
(pkg/require-defer 'fic-mode)
|
|
(add-hook 'prog-mode-hook 'fic-mode)
|
|
|
|
(pkg/require-defer 'flycheck)
|
|
|
|
(with-eval-after-load 'flycheck
|
|
(global-flycheck-mode)
|
|
(setq flycheck-emacs-lisp-load-path 'inherit))
|
|
|
|
|
|
|
|
(provide 'module-syntax)
|
|
|
|
;;; module-syntax.el ends here.
|