From a65b202cfd08e0e69e531eab737205ff5bc082a4 Mon Sep 17 00:00:00 2001 From: Sergey Slipchenko Date: Thu, 18 Jan 2024 08:59:10 +0400 Subject: [PATCH] Make sure close can be actually disabled --- lua/nvim-ts-autotag/internal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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