General refactor of modules
General code and comment improvements. Also, removed the :desc's for csv-mode because map! is currently unable to set which-key descriptions mode-locally, and should be avoided for anything but global keybinds. This will be fixed when General is introduced into Doom.
This commit is contained in:
parent
89b83f2457
commit
c58077810d
15 changed files with 59 additions and 57 deletions
|
@ -29,7 +29,6 @@
|
|||
|
||||
;;
|
||||
;; Major modes
|
||||
;;
|
||||
|
||||
(def-package! js2-mode
|
||||
:mode "\\.js\\'"
|
||||
|
@ -125,7 +124,6 @@
|
|||
|
||||
;;
|
||||
;; Tools
|
||||
;;
|
||||
|
||||
(def-package! tide
|
||||
:defer t
|
||||
|
@ -211,6 +209,7 @@
|
|||
:localleader
|
||||
:n "se" #'skewer-html-eval-tag))
|
||||
|
||||
|
||||
;; `npm-mode'
|
||||
(map! :after npm-mode
|
||||
:map npm-mode-keymap
|
||||
|
@ -224,9 +223,9 @@
|
|||
:n "nr" #'npm-mode-npm-run
|
||||
:n "nv" #'npm-mode-visit-project-file)
|
||||
|
||||
|
||||
;;
|
||||
;; Projects
|
||||
;;
|
||||
|
||||
(def-project-mode! +javascript-npm-mode
|
||||
:modes (html-mode css-mode web-mode js2-mode rjsx-mode json-mode markdown-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue