Make sure close can be actually disabled

This commit is contained in:
Sergey Slipchenko 2024-01-18 08:59:10 +04:00 committed by windwp
parent 8619a63750
commit a65b202cfd

View File

@ -106,7 +106,7 @@ M.setup = function(opts)
if opts.enable_rename ~= nil then
M.enable_rename = opts.enable_rename
end
if opts.enable_close then
if opts.enable_close ~= nil then
M.enable_close = opts.enable_close
end
if opts.enable_close_on_slash ~= nil then