General formatting & minor refactors
This commit is contained in:
parent
daef19ba64
commit
3a23ff56cd
7 changed files with 22 additions and 22 deletions
|
@ -22,8 +22,8 @@
|
|||
:init
|
||||
(set-company-backend! 'elixir-mode '(alchemist-company company-yasnippet))
|
||||
:config
|
||||
;; Alchemist doesn't use hook symbols to add these backends, so we have to use
|
||||
;; the entire closure to get rid of it.
|
||||
;; 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)))
|
||||
|
|
|
@ -249,17 +249,17 @@
|
|||
:n "se" #'skewer-html-eval-tag))
|
||||
|
||||
;; `npm-mode'
|
||||
(map! (:after npm-mode
|
||||
:map npm-mode-keymap
|
||||
:localleader
|
||||
:n "nn" #'npm-mode-npm-init
|
||||
:n "ni" #'npm-mode-npm-install
|
||||
:n "ns" #'npm-mode-npm-install-save
|
||||
:n "nd" #'npm-mode-npm-install-save-dev
|
||||
:n "nu" #'npm-mode-npm-uninstall
|
||||
:n "nl" #'npm-mode-npm-list
|
||||
:n "nr" #'npm-mode-npm-run
|
||||
:n "nv" #'npm-mode-visit-project-file))
|
||||
(map! :after npm-mode
|
||||
:map npm-mode-keymap
|
||||
:localleader
|
||||
:n "nn" #'npm-mode-npm-init
|
||||
:n "ni" #'npm-mode-npm-install
|
||||
:n "ns" #'npm-mode-npm-install-save
|
||||
:n "nd" #'npm-mode-npm-install-save-dev
|
||||
:n "nu" #'npm-mode-npm-uninstall
|
||||
:n "nl" #'npm-mode-npm-list
|
||||
:n "nr" #'npm-mode-npm-run
|
||||
:n "nv" #'npm-mode-visit-project-file)
|
||||
|
||||
;;
|
||||
;; Projects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue