Skip to content

alvarosevilla95/luatab.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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='nvim-tree/nvim-web-devicons' }

Using lazy.nvim

{ 'alvarosevilla95/luatab.nvim', dependencies = { 'nvim-tree/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,
}

About

Tabline lua plugin for neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published