nvim: after/plugin/gitlinker: Add gitea web hosts we work with

This commit is contained in:
Sanchayan Maity 2023-05-06 18:20:19 +05:30
parent 556cdeb219
commit f8267b23b0
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -3,6 +3,9 @@ require"gitlinker".setup({
["gitlab.freedesktop.org"] = require"gitlinker.hosts".get_gitlab_type_url,
["gitlab.gnome.org"] = require"gitlinker.hosts".get_gitlab_type_url,
["code.videolan.org"] = require"gitlinker.hosts".get_gitlab_type_url,
["codeberg.org"] = require"gitlinker.hosts".get_gitea_type_url ,
["git.sanchayanmaity.net"] = require"gitlinker.hosts".get_gitea_type_url ,
["git.sanchayanmaity.com"] = require"gitlinker.hosts".get_gitea_type_url ,
},
mappings = "<Leader>gu"
})