mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Update modules/lang/*
This commit is contained in:
@ -1,16 +1,11 @@
|
||||
;;; module-crystal.el
|
||||
|
||||
(use-package crystal-mode
|
||||
(@def-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)))
|
||||
(@set :eval 'crystal-mode
|
||||
'((:command . "crystal")
|
||||
(:exec . "%c %s")
|
||||
(:description . "Run Crystal script"))))
|
||||
|
||||
(provide 'module-crystal)
|
||||
;;; module-crystal.el ends here
|
||||
|
5
modules/lang/crystal/packages.el
Normal file
5
modules/lang/crystal/packages.el
Normal file
@ -0,0 +1,5 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/crystal/packages.el
|
||||
|
||||
(@package crystal-mode :recipe (:fetcher github :repo "dotmilk/emacs-crystal-mode"))
|
||||
|
Reference in New Issue
Block a user