doomemacs/modules/lang/crystal/config.el

20 lines
475 B
EmacsLisp
Raw Normal View History

;;; lang/crystal/config.el -*- lexical-binding: t; -*-
2015-08-27 23:25:35 -04:00
(def-package! crystal-mode
2015-08-27 23:25:35 -04:00
:mode "\\.cr$"
:interpreter "crystal"
:config
(set! :eval 'crystal-mode
2017-02-19 18:57:16 -05:00
'((:command . "crystal")
(:exec . "%c %s")
(:description . "Run Crystal script"))))
2015-08-27 23:25:35 -04:00
(def-package! flycheck-crystal
:after crystal-mode
:config (add-hook 'crystal-mode-hook #'flycheck-mode))
2018-02-06 02:04:58 -05:00
(def-package! inf-crystal
:commands (inf-crystal crystal-switch-to-inf))