mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(vc): browse-at-remote: codeberg support
Incorrect :type caused browse-at-remote to produce the wrong URL for
codeberg repos.
Amend: eed6d90586
This commit is contained in:
@ -135,7 +135,7 @@ otherwise in default state."
|
|||||||
|
|
||||||
;; Add codeberg.org support
|
;; Add codeberg.org support
|
||||||
;; TODO: PR this upstream?
|
;; TODO: PR this upstream?
|
||||||
(add-to-list 'browse-at-remote-remote-type-regexps '(:host "^codeberg\\.org$" :type "github"))
|
(add-to-list 'browse-at-remote-remote-type-regexps '(:host "^codeberg\\.org$" :type "codeberg"))
|
||||||
|
|
||||||
;; HACK `browse-at-remote' produces urls with `nil' in them, when the repo is
|
;; HACK `browse-at-remote' produces urls with `nil' in them, when the repo is
|
||||||
;; detached. This creates broken links. I think it is more sensible to
|
;; detached. This creates broken links. I think it is more sensible to
|
||||||
|
Reference in New Issue
Block a user