From 8142900e9fdf66d4f013c0d29559cd8f777d8fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 15 Oct 2018 19:02:38 -0500 Subject: Added crystal language --- lisp/init-crystal.el | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lisp/init-crystal.el (limited to 'lisp') diff --git a/lisp/init-crystal.el b/lisp/init-crystal.el new file mode 100644 index 0000000..3427e0e --- /dev/null +++ b/lisp/init-crystal.el @@ -0,0 +1,10 @@ +;;---------------------------------------------------------------------------- +;; Crystal Mode +;;---------------------------------------------------------------------------- +(require-package 'crystal-mode) + +(autoload 'crystal-mode "crystal-mode" "Major mode for crystal files" t) +(add-to-list 'auto-mode-alist '("\\.cr$" . crystal-mode)) +(add-to-list 'interpreter-mode-alist '("crystal" . crystal-mode)) + +(provide 'init-crystal) -- cgit v1.2.3