Use generic git-link handler for Gitea URLs

This commit is contained in:
Daniel Borchmann 2025-08-24 20:20:35 +02:00
parent 30aa2732a8
commit b5eb80d2cc
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -1608,10 +1608,9 @@ Note that this workaround is incomplete, as explained in this comment."
git-link-open-in-browser t
git-link-use-commit t)
:config (progn
(add-to-list 'git-link-remote-alist
'("gitea\\.c3d2\\.de" git-link-gitea))
(add-to-list 'git-link-commit-remote-alist
'("gitea\\.c3d2\\.de" git-link-commit-gitea))))
;; Add default generic Gitea handler for URLs containing “gitea”.
(add-to-list 'git-link-remote-alist '("gitea" git-link-gitea) t)
(add-to-list 'git-link-commit-remote-alist '("gitea" git-link-commit-gitea) t)))
(use-package highlight-indentation
:commands highlight-indentation-mode)