mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Updates for formatting and init hook
This commit is contained in:
@ -15,17 +15,17 @@
|
|||||||
(provide 'smartparens-elixir)
|
(provide 'smartparens-elixir)
|
||||||
:config
|
:config
|
||||||
(set-ligatures! 'elixir-mode
|
(set-ligatures! 'elixir-mode
|
||||||
;; Functional
|
;; Functional
|
||||||
:def "def"
|
:def "def"
|
||||||
:lambda "fn"
|
:lambda "fn"
|
||||||
;; :src_block "do"
|
;; :src_block "do"
|
||||||
;; :src_block_end "end"
|
;; :src_block_end "end"
|
||||||
;; Flow
|
;; Flow
|
||||||
:not "!"
|
:not "!"
|
||||||
:in "in" :not-in "not in"
|
:in "in" :not-in "not in"
|
||||||
:and "and" :or "or"
|
:and "and" :or "or"
|
||||||
:for "for"
|
:for "for"
|
||||||
:return "return" :yield "use")
|
:return "return" :yield "use")
|
||||||
|
|
||||||
;; ...and only complete the basics
|
;; ...and only complete the basics
|
||||||
(sp-with-modes 'elixir-mode
|
(sp-with-modes 'elixir-mode
|
||||||
@ -74,15 +74,14 @@
|
|||||||
|
|
||||||
(use-package! exunit
|
(use-package! exunit
|
||||||
:hook (elixir-mode . exunit-mode)
|
:hook (elixir-mode . exunit-mode)
|
||||||
:defer t
|
:init
|
||||||
:config
|
|
||||||
(map! :after elixir-mode
|
(map! :after elixir-mode
|
||||||
:localleader
|
:localleader
|
||||||
:map elixir-mode-map
|
:map elixir-mode-map
|
||||||
:prefix "t"
|
:prefix "t"
|
||||||
"a" #'exunit-verify-all
|
"a" #'exunit-verify-all
|
||||||
"r" #'exunit-rerun
|
"r" #'exunit-rerun
|
||||||
"v" #'exunit-verify
|
"v" #'exunit-verify
|
||||||
"T" #'exunit-toggle-file-and-test
|
"T" #'exunit-toggle-file-and-test
|
||||||
"t" #'exunit-toggle-file-and-test-other-window
|
"t" #'exunit-toggle-file-and-test-other-window
|
||||||
"s" #'exunit-verify-single))
|
"s" #'exunit-verify-single))
|
||||||
|
Reference in New Issue
Block a user