Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

gitlinker

URL: https://github.com/ruifm/gitlinker.nvim/


A simple popup display that provides a breadcrumbs feature using an LSP server.

plugins.gitlinker.enable

Whether to enable gitlinker.

Type: boolean

Default: false

Example: true

Declared by:

plugins.gitlinker.package

The gitlinker package to use.

Type: package

Default: pkgs.vimPlugins.gitlinker-nvim

Declared by:

plugins.gitlinker.autoLoad

Whether to automatically load gitlinker when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.gitlinker.settings

Options provided to the require('gitlinker').setup function.

Type: open submodule of attribute set of anything

Default: { }

Example:

{
  opts = {
    action_callback = lib.nixvim.mkRaw ''
  function(url)
    -- yank to unnamed register
    vim.api.nvim_command("let @\" = '" .. url .. "'")
    -- copy to the system clipboard using OSC52
    vim.fn.OSCYankString(url)
  end
'';
    print_url = false;
  };
}

Declared by: