diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index 730e8e2..0ca3bf3 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -6,7 +6,7 @@ M.autopairs = function() local present1, autopairs = pcall(require, "nvim-autopairs") local present2, cmp = pcall(require, "cmp") - if not present1 and present2 then + if not (present1 and present2) then return end