diff --git a/lua/nvim-ts-autotag/internal.lua b/lua/nvim-ts-autotag/internal.lua index 51a192e..b8ad7c4 100644 --- a/lua/nvim-ts-autotag/internal.lua +++ b/lua/nvim-ts-autotag/internal.lua @@ -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