lang/crystal: crystal-mode & flycheck-crystal

+ Add flycheck integration for the Crystal language, powered by
  flycheck-crystal.
+ Use the ELPA source for crystal-mode. The former QUELPA soruce
  (dotmilk's fork) is no longer maintained.
This commit is contained in:
Henrik Lissner 2017-12-07 23:59:49 -05:00
parent ea80992433
commit 59deb20b3b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 11 additions and 1 deletions

View file

@ -45,6 +45,11 @@
to set in their own private module. Use ~(set! :font "Font Name" :size N)~ to set in their own private module. Use ~(set! :font "Font Name" :size N)~
to do so. to do so.
+ =lang= + =lang=
+ =crystal=
+ Add flycheck integration for the Crystal language, powered by
~flycheck-crystal~.
+ Use the ELPA source for ~crystal-mode~. The former QUELPA soruce
(dotmilk's fork) is no longer maintained.
+ =sh= + =sh=
+ Improve how variables and subshells in double-quoted strings are + Improve how variables and subshells in double-quoted strings are
fontified. fontified.

View file

@ -9,3 +9,7 @@
(:exec . "%c %s") (:exec . "%c %s")
(:description . "Run Crystal script")))) (:description . "Run Crystal script"))))
(def-package! flycheck-crystal
:after crystal-mode
:config (add-hook 'crystal-mode-hook #'flycheck-mode))

View file

@ -1,5 +1,6 @@
;; -*- no-byte-compile: t; -*- ;; -*- no-byte-compile: t; -*-
;;; lang/crystal/packages.el ;;; lang/crystal/packages.el
(package! crystal-mode :recipe (:fetcher github :repo "dotmilk/emacs-crystal-mode")) (package! crystal-mode)
(package! flycheck-crystal)