From 33ba405687bd150ece19f5e06d6bc76f537f58e8 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 2 Aug 2021 13:57:14 +0200 Subject: vim: replace vim-github-link with gitlinker.nvim --- .vim/lua/plugins.lua | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to '.vim/lua') diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index 98ba6bc..da9f458 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -487,10 +487,17 @@ return require('packer').startup({function() } end} -- }}} - use {'rktjmp/lush.nvim'} + use {'ruifm/gitlinker.nvim', -- {{{ + requires = {'nvim-lua/plenary.nvim'}, + config = function() + require('gitlinker').setup { + opts = { + action_callback = require('gitlinker.actions').copy_to_clipboard, + }, + } + end} -- }}} - -- local - use {'~/devel/upstream/github.com/knsh14/vim-github-link'} + use {'rktjmp/lush.nvim'} end, config = { -- cgit 1.4.1