Add gitea to magit-clone-name-alist
This commit is contained in:
parent
9e517b90a8
commit
cfca5436fd
|
@ -864,7 +864,11 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
(magit-commit-diff-inhibit-same-window t)
|
(magit-commit-diff-inhibit-same-window t)
|
||||||
(magit-diff-adjust-tab-width t)
|
(magit-diff-adjust-tab-width t)
|
||||||
(magit-diff-refine-hunk 'all)
|
(magit-diff-refine-hunk 'all)
|
||||||
(magit-diff-refine-ignore-whitespace t))
|
(magit-diff-refine-ignore-whitespace t)
|
||||||
|
(magit-clone-name-alist '(("\\`\\(?:github:\\|gh:\\)?\\([^:]+\\)\\'" "github.com" "github.user")
|
||||||
|
("\\`\\(?:gitlab:\\|gl:\\)\\([^:]+\\)\\'" "gitlab.com" "gitlab.user")
|
||||||
|
("\\`\\(?:sourcehut:\\|sh:\\)\\([^:]+\\)\\'" "git.sr.ht" "sourcehut.user")
|
||||||
|
("\\`\\(?:gitea:\\|gt:\\)\\([^:]+\\)\\'" "git.xenia.me.uk" "gitea.user"))))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Completion
|
** Completion
|
||||||
*** Vertico
|
*** Vertico
|
||||||
|
|
Loading…
Reference in a new issue