diff options
author | Jesús <heckyel@hyperbola.info> | 2018-10-15 19:02:38 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-10-15 19:02:38 -0500 |
commit | 8142900e9fdf66d4f013c0d29559cd8f777d8fe3 (patch) | |
tree | cbad0765eb939c6930dfe1aee4b2db24621574dc | |
parent | bff67e0c33216993289096eb1530aca9630841ce (diff) | |
download | emacs-personal-8142900e9fdf66d4f013c0d29559cd8f777d8fe3.tar.lz emacs-personal-8142900e9fdf66d4f013c0d29559cd8f777d8fe3.tar.xz emacs-personal-8142900e9fdf66d4f013c0d29559cd8f777d8fe3.zip |
Added crystal language
-rw-r--r-- | custom.el | 2 | ||||
-rw-r--r-- | init.el | 1 | ||||
-rw-r--r-- | lisp/init-crystal.el | 10 |
3 files changed, 12 insertions, 1 deletions
@@ -12,7 +12,7 @@ '(ecb-options-version "2.50") '(package-selected-packages (quote - (nginx-mode all-the-icons neotree emmet-mode ecb undo-tree pip-requirements jedi highlight-indent-guides yaml-mode whitespace-cleanup-mode sublime-themes sml-modeline smarty-mode smart-mode-line-powerline-theme scss-mode sass-mode rainbow-mode prettier-js pkgbuild-mode pcre2el nlinum markdown-mode less-css-mode flycheck editorconfig anzu ac-php)))) + (crystal-mode nginx-mode all-the-icons neotree emmet-mode ecb undo-tree pip-requirements jedi highlight-indent-guides yaml-mode whitespace-cleanup-mode sublime-themes sml-modeline smarty-mode smart-mode-line-powerline-theme scss-mode sass-mode rainbow-mode prettier-js pkgbuild-mode pcre2el nlinum markdown-mode less-css-mode flycheck editorconfig anzu ac-php)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -47,6 +47,7 @@ ;;(require 'init-editorconfig) ;; Languages (require 'init-ccc) +(require 'init-crystal) (require 'init-markdown) (require 'init-python) (require 'init-pkgbuild) 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) |