diff options
author | Tim Keller <tjkeller.xyz> | 2024-11-27 22:04:23 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-11-27 22:04:23 -0600 |
commit | 4d6d9cb297b67753056787054e7b6616a895318c (patch) | |
tree | 5c9ab9cb963ebd601f4dce3ec2e0767749abe5b3 | |
parent | 35e36ce317d8ac8fa579118f5a16ca35bd47e353 (diff) | |
download | minitab.nvim-4d6d9cb297b67753056787054e7b6616a895318c.tar.xz minitab.nvim-4d6d9cb297b67753056787054e7b6616a895318c.zip |
cleantab -
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | lua/minitab/init.lua (renamed from lua/cleantab/init.lua) | 2 |
2 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -# cleantab.nvim +# minitab.nvim Fork of [`alvarosevilla95/luatab.nvim`](https://github.com/alvarosevilla95/luatab.nvim) @@ -10,23 +10,23 @@ Fork of ## Install Using [`lazy.nvim`](https://github.com/folke/lazy.nvim) ```lua -{ 'https://git.tjkeller.xyz/cleantab.nvim' } +{ 'https://git.tjkeller.xyz/minitab.nvim' } ``` ## Usage Add this to your init.lua: ```lua -require('cleantab').setup{} +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/cleantab/init.lua` for details. +You can pass overrides for any of these functions in `setup`. Please see `lua/minitab/init.lua` for details. Example: ``` -require('cleantab').setup{ +require('minitab').setup{ title = function() return '' end, modified = function() return '' end, windowCount = function() return '' end, diff --git a/lua/cleantab/init.lua b/lua/minitab/init.lua index aa4a974..0504d42 100644 --- a/lua/cleantab/init.lua +++ b/lua/minitab/init.lua @@ -91,7 +91,7 @@ local setup = function(opts) end end - vim.opt.tabline = '%!v:lua.require\'luatab\'.helpers.tabline()' + vim.opt.tabline = '%!v:lua.require\'minitab\'.helpers.tabline()' end return { |