aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md10
-rw-r--r--lua/minitab/init.lua (renamed from lua/cleantab/init.lua)2
2 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index fa82e49..c2f5cc0 100644
--- a/README.md
+++ b/README.md
@@ -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 {