doomemacs/modules/module-crystal.el

20 lines
489 B
EmacsLisp
Raw Normal View History

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