common: add gitlinker
This commit is contained in:
parent
e9a413c15c
commit
1b8a4094d0
|
@ -39,6 +39,18 @@ return {
|
||||||
-- markdown preview using glow
|
-- markdown preview using glow
|
||||||
{ "ellisonleao/glow.nvim", config = true, cmd = "Glow" },
|
{ "ellisonleao/glow.nvim", config = true, cmd = "Glow" },
|
||||||
|
|
||||||
|
-- permanent links to fileranges
|
||||||
|
{ 'ruifm/gitlinker.nvim',
|
||||||
|
config = function()
|
||||||
|
require('gitlinker').setup(
|
||||||
|
{
|
||||||
|
callbacks = {
|
||||||
|
['git.aflabs.org'] = require('gitlinker.hosts').get_gitlab_type_url }
|
||||||
|
}
|
||||||
|
)
|
||||||
|
end
|
||||||
|
},
|
||||||
|
|
||||||
-- NOTE: Third, plugins that require some setup, but not enugh for separate file
|
-- NOTE: Third, plugins that require some setup, but not enugh for separate file
|
||||||
|
|
||||||
{ -- Adds git releated signs to the gutter, as well as utilities for managing changes
|
{ -- Adds git releated signs to the gutter, as well as utilities for managing changes
|
||||||
|
|
Loading…
Reference in New Issue