aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/lua
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-22 17:25:59 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-22 17:25:59 +0100
commit0071d92155c1e3c18c1cf5847326dfafe06ccf4d (patch)
tree76f2c920b95f44aefd48167bb9ce1c555d3726ed /home/.config/nvim/lua
parent97dfad96348a26320581fd0f68e09e7a43871490 (diff)
downloaddotfiles-0071d92155c1e3c18c1cf5847326dfafe06ccf4d.tar.gz
dotfiles-0071d92155c1e3c18c1cf5847326dfafe06ccf4d.tar.bz2
dotfiles-0071d92155c1e3c18c1cf5847326dfafe06ccf4d.zip
[ssh] Remove work and personal "hosts"
Diffstat (limited to 'home/.config/nvim/lua')
-rw-r--r--home/.config/nvim/lua/custom/plugins/git.lua8
1 files changed, 0 insertions, 8 deletions
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