local status_ok, autopairs = pcall(require, "ultimate-autopair") if not status_ok then return end autopairs.setup { ignored_next_char = string.gsub("!@#$%^&*()_+", "%s+", "") }