From e9d20f005d9120eff3832a02d87d03684f4856bf Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Thu, 8 Aug 2024 11:45:57 +0300 Subject: [PATCH] Nvim: add gitea plugin for fugitive --- home/.config/nvim/lua/plugins/fugitive.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/home/.config/nvim/lua/plugins/fugitive.lua b/home/.config/nvim/lua/plugins/fugitive.lua index 24d58a4..f628233 100644 --- a/home/.config/nvim/lua/plugins/fugitive.lua +++ b/home/.config/nvim/lua/plugins/fugitive.lua @@ -1,3 +1,12 @@ -- Git commands --- @type LazyPluginSpec -return { "tpope/vim-fugitive" } +return { + "tpope/vim-fugitive", + dependencies = { "borissov/fugitive-gitea" }, + config = function() + vim.g.fugitive_gitea_domains = { + "https://git.korhonen.cc", + "https://git.rossum.fi", + } + end, +}