lang/crystal: improve dtrt-indent support
This commit is contained in:
parent
aa08f338de
commit
c3b39be4ab
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@
|
||||||
(set-eval-handler! 'crystal-mode
|
(set-eval-handler! 'crystal-mode
|
||||||
'((:command . "crystal")
|
'((:command . "crystal")
|
||||||
(:exec . "%c %s")
|
(:exec . "%c %s")
|
||||||
(:description . "Run Crystal script"))))
|
(:description . "Run Crystal script")))
|
||||||
|
(after! dtrt-indent
|
||||||
|
(add-to-list 'dtrt-indent-hook-mapping-list '(crystal-mode ruby crystal-indent-level))))
|
||||||
|
|
||||||
|
|
||||||
(def-package! flycheck-crystal
|
(def-package! flycheck-crystal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue