aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlvaro Sevilla <alvaro@chainalysis.com>2021-07-05 11:29:11 +0100
committerAlvaro Sevilla <alvaro@chainalysis.com>2021-07-05 11:29:11 +0100
commit54d57b05067d40068ae3a9ccb681a135eff1aa1b (patch)
tree45741c69c67a46f2cc1b70ebcfbadc1de29ec7cf /README.md
parent1b389cb1c82757e5afeef780c2a68c2330608228 (diff)
downloadminitab.nvim-54d57b05067d40068ae3a9ccb681a135eff1aa1b.tar.xz
minitab.nvim-54d57b05067d40068ae3a9ccb681a135eff1aa1b.zip
Update README
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index 087577e..878e5d9 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,13 @@
# 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:
@@ -8,8 +17,9 @@ Tabline = require'tabline'.tabline
vim.cmd[[ set tabline=%!luaeval('Tabline()') ]]
```
-Note: `require'tabline'.tabline` must be assigned to a global variable for it to be picked up by `luaeval`
+Note: `require'tabline'.tabline` must be assigned to a global variable for it to be picked up by `luaeval`. If you know a better method, PRs are welcome.
+## Configuration
You can also define your own tabline function using the provided functions for help. The default tabline is equivalent to:
```
local formatTab = require'luatab'.formatTab