16 lines
405 B
EmacsLisp
16 lines
405 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
|