doomemacs/modules/lang/crystal/config.el
2017-02-20 00:23:03 -05:00

17 lines
403 B
EmacsLisp

;;; module-crystal.el
(use-package crystal-mode
:mode "\\.cr$"
:interpreter "crystal"
:config
(def-docset! crystal-mode "crystal")
(after! quickrun
(quickrun-add-command
"crystal" '((:command . "crystal")
(:exec . "%c %s")
(:description . "Run Crystal script"))
:mode 'crystal-mode)))
(provide 'module-crystal)
;;; module-crystal.el ends here