Skip to content

ttbug/tig.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tig.nvim

tig in your Neovim

Prerequisites

  • Neovim >= 0.5.0
  • tig

Installation

packer.nvim

use 'ttbug/tig.nvim'

Setup

require("tig").setup()

Configuration (optional)

Following are the default config for the setup(). If you want to override, just modify the option that you want then it will be merged with the default config.

{
  -- Command Options
  command = {
    -- Enable :Tigui command
    -- @type: bool
    enable = true,
  },
  -- Path to binary
  -- @type: string
  binary = "tig",
  -- Argumens to tig
  -- @type: table of string
  args = {},
  -- WIndow Options
  window = {
    options = {
      -- Width window in %
      -- @type: number
      width = 90,
      -- Height window in %
      -- @type: number
      height = 80,
      -- Border Style
      -- Enum: "none", "single", "rounded", "solid" or "shadow"
      -- @type: string
      border = "rounded",
    },
  },
}

Lua API

require("tig").open()

TODO

  • Add documentation

About

Gitui in your Neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%