From fbca93819279369f3ad65196e41ce1e39e9f20e3 Mon Sep 17 00:00:00 2001 From: Alvaro Sevilla Date: Mon, 5 Jul 2021 23:59:22 +0100 Subject: Fix typo in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ce5c7d5..f1970cd 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,11 @@ use { 'alvarosevilla95/luatab.nvim', requires='kyazdani42/nvim-web-devicons' } Add this to your init.lua: ``` -Tabline = require'tabline'.tabline +Tabline = require'luatab'.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`. If you know a better method, PRs are welcome. +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: -- cgit v1.2.3