mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -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
|
|
@ -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"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue