Browse Source

allow disabling autopairs completely

kylo252 3 năm trước cách đây
mục cha
commit
d512b57918
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      lua/plugins.lua

+ 1 - 0
lua/plugins.lua

@@ -73,6 +73,7 @@ return {
         lvim.builtin.autopairs.on_config_done(require "nvim-autopairs")
       end
     end,
+    disable = not lvim.builtin.autopairs.active,
   },
 
   -- Treesitter