Skip to content

SebastienLeonce/nvim-codeowners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-codeowners

A nvim plugin for interacting with GitHub's CODEOWNERS file.

Requirements

Installation

Install nvim-codeowners as any other plugin through the use of Packer or your favourite nvim plugin manager.

use { "SebastienLeonce/nvim-codeowners", run = "npm install" }

Commands

  • CodeownersWho - shows a codeowner of active file.
  • CodeownersReset - resets cache.

Config

Default config for the plugin :

require("codeowners").setup({
    codeownersFile = "CODEOWNERS",
    pattern =  "(@[%S]+)",
})

Hardline Configuration

nvim-hardline

require('hardline').setup {
  ...
  sections = {
    ...
    {class = 'low', item = require("codeowners").whoBufname},
    ...
  },
}

Source

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages