2015-08-27 23:25:35 -04:00
|
|
|
;;; module-crystal.el
|
|
|
|
|
|
|
|
(use-package crystal-mode
|
|
|
|
:mode "\\.cr$"
|
|
|
|
:interpreter "crystal"
|
2016-03-28 21:57:59 -04:00
|
|
|
:init
|
|
|
|
(after! editorconfig
|
|
|
|
(push '(crystal-mode crystal-indent-level)
|
|
|
|
editorconfig-indentation-alist))
|
2015-08-27 23:25:35 -04:00
|
|
|
:config
|
2016-03-28 21:57:59 -04:00
|
|
|
(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
|