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