diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-12-02 13:06:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 13:06:44 +0800 |
commit | d7cfe3b151cc5f90589250f55c3abf0ff7c3a196 (patch) | |
tree | f8f200913031e1480eeb979f96beb556f098f390 | |
parent | 787b79da5c803e2257f428dae5ceb831e8ac0f1c (diff) | |
download | minitab.nvim-d7cfe3b151cc5f90589250f55c3abf0ff7c3a196.tar.xz minitab.nvim-d7cfe3b151cc5f90589250f55c3abf0ff7c3a196.zip |
Allow passing nil as opts in setup()
-rw-r--r-- | lua/luatab/init.lua | 1 |
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 |