From 0071d92155c1e3c18c1cf5847326dfafe06ccf4d Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 22 May 2024 17:25:59 +0100 Subject: [ssh] Remove work and personal "hosts" --- home/.config/nvim/lua/custom/plugins/git.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'home/.config/nvim/lua/custom/plugins/git.lua') diff --git a/home/.config/nvim/lua/custom/plugins/git.lua b/home/.config/nvim/lua/custom/plugins/git.lua index 02df02e..8ce79be 100644 --- a/home/.config/nvim/lua/custom/plugins/git.lua +++ b/home/.config/nvim/lua/custom/plugins/git.lua @@ -45,14 +45,6 @@ return { config = function() require "gitlinker".setup({ callbacks = { - ["personal"] = function(url_data) - url_data.host = "github.com" - return require "gitlinker.hosts".get_github_type_url(url_data) - end, - ["work"] = function(url_data) - url_data.host = "github.com" - return require "gitlinker.hosts".get_github_type_url(url_data) - end, ["git.strisemarx.com"] = function(url_data) local url = require "gitlinker.hosts".get_base_https_url(url_data) url = url .. "/tree/" .. url_data.file .. "?id=" .. url_data.rev -- cgit v1.2.3-70-g09d2