General refactor for consistency & idempotency
Also updated comments
This commit is contained in:
parent
50401f6c09
commit
80adb9c1f6
17 changed files with 48 additions and 40 deletions
|
@ -32,7 +32,8 @@
|
|||
:when (featurep! :completion company)
|
||||
:after elixir-mode
|
||||
:config
|
||||
;; Let Doom handle this
|
||||
;; Alchemist doesn't use hook symbols to add these backends, so we have to use
|
||||
;; the entire closure to get rid of it.
|
||||
(let ((fn (byte-compile (lambda () (add-to-list (make-local-variable 'company-backends) 'alchemist-company)))))
|
||||
(remove-hook 'alchemist-mode-hook fn)
|
||||
(remove-hook 'alchemist-iex-mode-hook fn))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue