mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-07 11:00:48 -08:00
refactor: vc-ignore-dir-regexp: move to :emacs vc
This commit is contained in:
parent
03e286feb4
commit
c4ec232206
2 changed files with 5 additions and 6 deletions
|
|
@ -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"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue