refactor: vc-ignore-dir-regexp: move to :emacs vc

This commit is contained in:
Henrik Lissner
2025-09-14 23:21:56 -04:00
parent 03e286feb4
commit c4ec232206
2 changed files with 5 additions and 6 deletions

View File

@@ -5,6 +5,11 @@
;; 2021, amirite?
(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)
(setenv "GIT_ASKPASS" "git-gui--askpass"))