mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
feat(vc): add codeberg support to browse-at-remote
This should be PRed upstream later.
This commit is contained in:
@@ -133,6 +133,10 @@ otherwise in default state."
|
||||
;; using commit hashes rather than branch names.
|
||||
(setq browse-at-remote-prefer-symbolic nil)
|
||||
|
||||
;; Add codeberg.org support
|
||||
;; TODO: PR this upstream?
|
||||
(add-to-list 'browse-at-remote-remote-type-regexps '("^codeberg\\.org$" . "codeberg"))
|
||||
|
||||
;; 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
|
||||
;; fall back to master in those cases.
|
||||
|
Reference in New Issue
Block a user