mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
feat(format): add :lang crystal formatter
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
;;; lang/crystal/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(after! crystal-mode
|
||||
(when (executable-find "crystal")
|
||||
(set-formatter! 'crystal-mode '("crystal" "tool" "format" "-") :modes '(crystal-mode)))
|
||||
|
||||
(set-lookup-handlers! 'crystal-mode
|
||||
:definition #'crystal-def-jump
|
||||
:references #'crystal-tool-imp)
|
||||
|
Reference in New Issue
Block a user