aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/luatab/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/luatab/init.lua b/lua/luatab/init.lua
index 9fab8cf..6dceddc 100644
--- a/lua/luatab/init.lua
+++ b/lua/luatab/init.lua
@@ -101,6 +101,7 @@ M.tabline = function()
end
local setup = function(opts)
+ opts = opts or {}
if opts.title then M.title = opts.title end
if opts.modified then M.modified = opts.modified end
if opts.windowCount then M.windowCount = opts.windowCount end