mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Merge pull request #635 from ar1a/vc-git-link
Fix git-link not loading on SPC-g-I from fresh emacs start
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
;;;###autoload
|
||||
(defun +vcs-root ()
|
||||
"Return the root git repo URL for the current file."
|
||||
(require 'git-link)
|
||||
(let* ((remote (git-link--select-remote))
|
||||
(remote-url (git-link--remote-url remote))
|
||||
(remote-info (if remote-url (git-link--parse-remote remote-url))))
|
||||
|
Reference in New Issue
Block a user