summary refs log tree commit diff
path: root/.vim/lua/plugins.lua
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-08-02 13:57:14 +0200
committerRobert Günzler <r@gnzler.io>2021-08-02 13:57:14 +0200
commit33ba405687bd150ece19f5e06d6bc76f537f58e8 (patch)
tree603c537963789068bbad61458e184d33cb2ba0c4 /.vim/lua/plugins.lua
parenta1e1a4ae8b16bdde5ec1bb04e6ce925513b94feb (diff)
vim: replace vim-github-link with gitlinker.nvim
Diffstat (limited to '.vim/lua/plugins.lua')
-rw-r--r--.vim/lua/plugins.lua13
1 files changed, 10 insertions, 3 deletions
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 = {