mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(crystal): add spec keybinds
Adds test running shortcuts similar to :lang ruby's.
This commit is contained in:
committed by
Henrik Lissner
parent
e92ce51c13
commit
a46f741a89
@ -5,7 +5,14 @@
|
||||
:definition #'crystal-def-jump
|
||||
:references #'crystal-tool-imp)
|
||||
(when (featurep! +lsp)
|
||||
(add-hook 'crystal-mode-local-vars-hook #'lsp!)))
|
||||
(add-hook 'crystal-mode-local-vars-hook #'lsp!))
|
||||
(map! :localleader
|
||||
:map crystal-mode-map
|
||||
:prefix "t"
|
||||
"a" #'crystal-spec-all
|
||||
"v" #'crystal-spec-buffer
|
||||
"s" #'crystal-spec-line
|
||||
"t" #'crystal-spec-switch))
|
||||
|
||||
|
||||
(use-package! flycheck-crystal
|
||||
|
Reference in New Issue
Block a user