doomemacs/modules/module-crystal.el
2016-03-28 21:57:59 -04:00

20 lines
489 B
EmacsLisp

;;; module-crystal.el
(use-package crystal-mode
:mode "\\.cr$"
:interpreter "crystal"
:init
(after! editorconfig
(push '(crystal-mode crystal-indent-level)
editorconfig-indentation-alist))
:config
(after! quickrun
(quickrun-add-command
"crystal" '((:command . "crystal")
(:exec . "%c run %s")
(:description . "Run Crystal script"))
:mode 'crystal-mode)))
(provide 'module-crystal)
;;; module-crystal.el ends here