Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alvarosevilla95/luatab.nvim
Tabline lua plugin for neovim
https://github.com/alvarosevilla95/luatab.nvim
Last synced: 2 months ago
JSON representation
Tabline lua plugin for neovim
- Host: GitHub
- URL: https://github.com/alvarosevilla95/luatab.nvim
- Owner: alvarosevilla95
- License: mit
- Created: 2021-07-05T10:11:10.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-08T15:14:14.000Z (about 1 year ago)
- Last Synced: 2024-01-24T10:11:12.255Z (5 months ago)
- Language: Lua
- Size: 105 KB
- Stars: 172
- Watchers: 3
- Forks: 20
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-neovim - alvarosevilla95/luatab.nvim - A simple tabline written in Lua. (Bars and Lines / Tabline)
- awesome-stars - alvarosevilla95/luatab.nvim - Tabline lua plugin for neovim (Lua)
- awesome-stars - alvarosevilla95/luatab.nvim - Tabline lua plugin for neovim (Lua)
- awesome-neovim - alvarosevilla95/luatab.nvim - A simple tabline written in Lua. (Bars and Lines / Tabline)
- awesome-neovim - alvarosevilla95/luatab.nvim - A simple tabline written in Lua. (Bars and Lines / Tabline)
README
# luatab.nvim
![]()
## Features
* Just a lua rewrite of the tabline render function
* No weird mixing buffers and tabs stuff## Install
Using packer.nvim:
```
use { 'alvarosevilla95/luatab.nvim', requires='kyazdani42/nvim-web-devicons' }
```## Usage
Add this to your init.lua:
```
require('luatab').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/luatab/init.lua` for details.Example:
```
require('luatab').setup{
title = function() return '' end,
modified = function() return '' end,
windowCount = function() return '' end,
devicon = function() return '' end,
separator = function() return '' end,
}
```