Add delq! and pushnew! macros
And move projectile configs to their respective modules (and out of package configs).
This commit is contained in:
parent
f934f38627
commit
742687a51e
5 changed files with 33 additions and 21 deletions
|
@ -23,6 +23,10 @@
|
|||
;; Other
|
||||
:yield "import"))
|
||||
|
||||
(after! projectile
|
||||
(pushnew! projectile-project-root-files "package.json")
|
||||
(pushnew! projectile-globally-ignored-directories "node_modules" "flow-typed"))
|
||||
|
||||
|
||||
;;
|
||||
;; Major modes
|
||||
|
@ -54,10 +58,6 @@
|
|||
(set-electric! 'js2-mode :chars '(?\} ?\) ?. ?:))
|
||||
(set-repl-handler! 'js2-mode #'+javascript/open-repl)
|
||||
|
||||
(after! projectile
|
||||
(add-to-list 'projectile-project-root-files "package.json")
|
||||
(add-to-list 'projectile-globally-ignored-directories "node_modules"))
|
||||
|
||||
(map! :map js2-mode-map
|
||||
:localleader
|
||||
"S" #'+javascript/skewer-this-buffer))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue