From b5eb80d2cceb06f468d949ff032e7d6910426b0e Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 24 Aug 2025 20:20:35 +0200 Subject: [PATCH] Use generic git-link handler for Gitea URLs --- init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 2a998e1..61457ef 100644 --- a/init.el +++ b/init.el @@ -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)