mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-15 01:39:25 +02:00
update-nvim-plugins doesn't break with plugins stupid enough to include infinetely recursive symlinks (WTF)
This commit is contained in:
parent
58be67fc31
commit
bfe11b70bf
|
@ -8,7 +8,9 @@
|
||||||
|
|
||||||
(define dirs
|
(define dirs
|
||||||
(map (λ (path) (match-let-values ([(p _ _) (split-path path)]) p))
|
(map (λ (path) (match-let-values ([(p _ _) (split-path path)]) p))
|
||||||
(find-files (λ (path) (equal? (path->string (last (explode-path path))) ".git")) plugin-dir)))
|
(find-files (λ (path) (equal? (path->string (last (explode-path path))) ".git"))
|
||||||
|
plugin-dir
|
||||||
|
#:follow-links? #f)))
|
||||||
|
|
||||||
(define git-path (find-executable-path "git"))
|
(define git-path (find-executable-path "git"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue