Added crystal language

This commit is contained in:
Jesús 2018-10-15 19:02:38 -05:00
parent bff67e0c33
commit 8142900e9f
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
3 changed files with 12 additions and 1 deletions

View File

@ -12,7 +12,7 @@
'(ecb-options-version "2.50") '(ecb-options-version "2.50")
'(package-selected-packages '(package-selected-packages
(quote (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
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -47,6 +47,7 @@
;;(require 'init-editorconfig) ;;(require 'init-editorconfig)
;; Languages ;; Languages
(require 'init-ccc) (require 'init-ccc)
(require 'init-crystal)
(require 'init-markdown) (require 'init-markdown)
(require 'init-python) (require 'init-python)
(require 'init-pkgbuild) (require 'init-pkgbuild)

10
lisp/init-crystal.el Normal file
View File

@ -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)