diff options
author | Alvaro Sevilla <alvarosevilla95@gmail.com> | 2021-12-04 23:40:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-04 23:40:10 +0000 |
commit | 9322203521a03cf7f36bcd0486da2c4ddde908c7 (patch) | |
tree | f8f200913031e1480eeb979f96beb556f098f390 /lua/luatab/init.lua | |
parent | 787b79da5c803e2257f428dae5ceb831e8ac0f1c (diff) | |
parent | d7cfe3b151cc5f90589250f55c3abf0ff7c3a196 (diff) | |
download | minitab.nvim-9322203521a03cf7f36bcd0486da2c4ddde908c7.tar.xz minitab.nvim-9322203521a03cf7f36bcd0486da2c4ddde908c7.zip |
Merge pull request #13 from zeertzjq/patch-1
Allow passing nil as opts in setup()
Diffstat (limited to 'lua/luatab/init.lua')
-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 |