require("utility.autocmd") -- Highlight the symbol and its references when holding the cursor. autocmd("CursorHold", "*", "silent call CocActionAsync('highlight')") augroup("coc-misc", { -- {"FileType", "typescript,json", "setl formatexpr=CocAction('formatSelected')"}, {"User", "CocJumpPlaceholder", "call CocActionAsync('showSignatureHelp')"}})