aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 36961d8de0e2ee61ada0e639228f38389d3a9a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# minitab.nvim

Fork of
[`alvarosevilla95/luatab.nvim`](https://github.com/alvarosevilla95/luatab.nvim)

## Features
* Just a lua rewrite of the tabline render function
* No weird mixing buffers and tabs stuff

## Install
Using [`lazy.nvim`](https://github.com/folke/lazy.nvim)
```lua
{ url = 'https://git.tjkeller.xyz/minitab.nvim', config = true }
```

## Usage
Add this to your init.lua:
```lua
require('minitab').setup{}
```

## Configuration

The plugin calls the `helpers.tabline` function to render the line. It uses the other functions defined in `helpers`, such as `cell,separator,devicon`.
You can pass overrides for any of these functions in `setup`. Please see `lua/minitab/init.lua` for details.

Example:
```
require('minitab').setup{
    title = function() return '' end,
    modified = function() return '' end,
    windowCount = function() return '' end,
    separator = function() return '' end,
}
```