diff --git a/modules/emacs/vc/config.el b/modules/emacs/vc/config.el index e151b0dc0..0fef2c56f 100644 --- a/modules/emacs/vc/config.el +++ b/modules/emacs/vc/config.el @@ -136,6 +136,10 @@ otherwise in default state." ;; Add codeberg.org support ;; TODO: PR this upstream? (add-to-list 'browse-at-remote-remote-type-regexps '(:host "^codeberg\\.org$" :type "codeberg")) + ;; Expand recognition for gitlab hosts besides gitlab.org or gitlab.gnome.org + ;; which are presumably hosted in a gitlab.* subdomain. + ;; TODO: PR this upstream? + (add-to-list 'browse-at-remote-remote-type-regexps '(:host "^gitlab\\." :type "gitlab") 'append) ;; 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