mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
perf: optimize tramp + projectile integration
Reduce how much projectile hits the server in TRAMP buffers by: - Not looking for fd/fdfind (just use the VCS-specific commands projectile provides and assume they're present on the remote). - Not walking up the directory tree to display the project name in the mode line. - Reducing TRAMP file-cache misses. - Reducing how chatty tramp is about its connections. Fix #5360
This commit is contained in:
@ -411,6 +411,16 @@ files, so this replace calls to `pp' with the much faster `prin1'."
|
||||
(server-start)))
|
||||
|
||||
|
||||
(after! tramp
|
||||
(setq remote-file-name-inhibit-cache 60
|
||||
tramp-completion-reread-directory-timeout 60
|
||||
tramp-verbose 1
|
||||
vc-ignore-dir-regexp (format "%s\\|%s\\|%s"
|
||||
vc-ignore-dir-regexp
|
||||
tramp-file-name-regexp
|
||||
"[/\\\\]node_modules")))
|
||||
|
||||
|
||||
;;
|
||||
;;; Packages
|
||||
|
||||
|
Reference in New Issue
Block a user