Basic crystal-lang support

This commit is contained in:
Henrik Lissner 2015-08-27 23:25:35 -04:00
parent e06a6e74f4
commit 569061795e
3 changed files with 12 additions and 0 deletions

1
Cask
View file

@ -147,6 +147,7 @@
(depends-on "go-mode")
(depends-on "swift-mode")
(depends-on "vimrc-mode")
(depends-on "crystal-mode" :git "https://github.com/jpellerin/emacs-crystal-mode/")
;; (depends-on "haxe-mode")
;; (depends-on "rust-mode")

View file

@ -76,6 +76,7 @@
core-workgroups ; cure Emacs alzheimers
module-cc ; c/c++/obj-c madness
module-crystal ; ruby at the speed of c
module-csharp ; unity, mono and xamarin
module-data ; dbs 'n data formats
module-eshell ; eshell (on windows)

10
modules/module-crystal.el Normal file
View file

@ -0,0 +1,10 @@
;;; module-crystal.el
(use-package crystal-mode
:mode "\\.cr$"
:interpreter "crystal"
:config
(setq crystal-indent-level 2))
(provide 'module-crystal)
;;; module-crystal.el ends here