- 
          
- 
        Couldn't load subscription status. 
- Fork 44
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
URLs for repositories managed with cgit, for example https://git.kernel.org/, are missing the repository part. The URLs are <host>/tree/file instead of <host>/<repo>/tree/file.
To Reproduce
minimal init.lua:
local install_path = vim.fn.stdpath('data') ..
    '/site/pack/packer/start/packer.nvim'
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
    vim.fn.system({
        'git', 'clone',
        'https://github.com/wbthomason/packer.nvim', install_path
    })
    vim.cmd [[packadd packer.nvim]]
end
require('packer').startup({ function(use)
    use { 'https://github.com/wbthomason/packer.nvim' }
    use {
        'https://github.com/ruifm/gitlinker.nvim',
        requires = { 'https://github.com/nvim-lua/plenary.nvim' }
    }
end})
require("packer").sync()
require"gitlinker".setup()- git clone https://git.kernel.org/pub/scm/docs/man-pages/man-pages-posix.git
- cd man-pages-posix && nvim README
- generate permalink
- permalink is https://git.kernel.org/tree/README?id=3032a293a74969989e3ed4921b690cf9442ac674#n1
Expected behavior
The permalink should be https://git.kernel.org/pub/scm/docs/man-pages/man-pages-posix.git/tree/README?id=3032a293a74969989e3ed4921b690cf9442ac674#n1
System (please complete the following information):
- OS: Gentoo Linux
- nvim --version: NVIM v0.7.2
- git --version: git version 2.35.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working