local M = require('module'):new() function M:boot() -- if you leave the cursor on a variable/etc for a moment, this will cause -- all other occurrences to be subtly highlighted. vim.api.nvim_create_autocmd('CursorHold', { pattern = { '*' }, command = "silent call CocActionAsync('highlight')" }) end function M:install() if (self.config.extensions == nil) then return end exts = table.concat(self.config.extensions, ' ') vim.cmd(':CocInstall -sync '..exts) end return M