Skip to content

vzsky/gitlab-codeowners.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitlab CodeOwners

Read through the gitlab's codeowners format. Easily see the owner of each file.

Installation

Lazy.nvim

using this

{
    "vzsky/gitlab-codeowners.nvim", opts = {}
}

will set a command GitlabCodeowners that shows all code owners of the opening buffer.

With Lualine

lualine_x = {
    function ()
        local co = require("gitlab-codeowners").short_codeowners() -- or codeowners()
        if not co then return "" else return co end
    end,
    -- filetype, add other stuffs, ...
},

About

nvim plugin for "who owns this file"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages