mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-16 15:56:52 -05:00
refactor: vc-ignore-dir-regexp: move to :emacs vc
This commit is contained in:
@@ -412,12 +412,6 @@ files, so this replace calls to `pp' with the much faster `prin1'."
|
|||||||
(server-start)))
|
(server-start)))
|
||||||
|
|
||||||
|
|
||||||
(after! vc-hooks
|
|
||||||
(setq vc-ignore-dir-regexp (format "%s\\|%s"
|
|
||||||
vc-ignore-dir-regexp
|
|
||||||
"[/\\\\]node_modules")))
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;;; Packages
|
;;; Packages
|
||||||
|
|
||||||
|
@@ -5,6 +5,11 @@
|
|||||||
;; 2021, amirite?
|
;; 2021, amirite?
|
||||||
(setq-default vc-handled-backends '(SVN Git Hg))
|
(setq-default vc-handled-backends '(SVN Git Hg))
|
||||||
|
|
||||||
|
;; PERF: Ignore node_modules (expensive for vc ops to index).
|
||||||
|
(setq-default vc-ignore-dir-regexp (format "%s\\|%s"
|
||||||
|
locate-dominating-stop-dir-regexp
|
||||||
|
"[/\\\\]node_modules"))
|
||||||
|
|
||||||
(when (featurep :system 'windows)
|
(when (featurep :system 'windows)
|
||||||
(setenv "GIT_ASKPASS" "git-gui--askpass"))
|
(setenv "GIT_ASKPASS" "git-gui--askpass"))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user