diff options
author | Alvaro Sevilla <alvarosevilla95@gmail.com> | 2021-07-13 19:48:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 19:48:24 +0200 |
commit | fe379762460d0b0e24dddafbc9cd93752544a06d (patch) | |
tree | cb7612f8db51a7a9af800c4a2a46334dceb19e10 /README.md | |
parent | 540362f44bc17ae8101828eec00fd00ffc4148bb (diff) | |
parent | 4aa9bebdb4007428cfca4ffd22e42f08e2cc88ec (diff) | |
download | minitab.nvim-fe379762460d0b0e24dddafbc9cd93752544a06d.tar.xz minitab.nvim-fe379762460d0b0e24dddafbc9cd93752544a06d.zip |
Merge pull request #5 from mxdevmanuel/master
feat: Change README documentation to set tabline and terminal command
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -16,12 +16,9 @@ use { 'alvarosevilla95/luatab.nvim', requires='kyazdani42/nvim-web-devicons' } Add this to your init.lua: ``` -Tabline = require'luatab'.tabline -vim.cmd[[ set tabline=%!luaeval('Tabline()') ]] +vim.o.tabline = '%!v:lua.require\'luatab\'.tabline()' ``` -Note: `require'luatab'.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: ``` |