local function config() --- Ensure plugin is avaiable local comment = require('Comment') --- Load plugin comment.setup() end return { "numToStr/Comment.nvim", event = { "BufReadPre", "BufNewFile" }, config = config }