Basic crystal-lang support
This commit is contained in:
parent
e06a6e74f4
commit
569061795e
3 changed files with 12 additions and 0 deletions
1
Cask
1
Cask
|
@ -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")
|
||||
|
|
1
init.el
1
init.el
|
@ -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
10
modules/module-crystal.el
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue