{"id":13479097,"url":"https://github.com/neoclide/coc-highlight","last_synced_at":"2025-06-21T11:09:21.120Z","repository":{"id":34330955,"uuid":"158128474","full_name":"neoclide/coc-highlight","owner":"neoclide","description":"Document highlight and document colors LSP support for coc.nvim","archived":false,"fork":false,"pushed_at":"2025-02-10T22:07:14.000Z","size":170,"stargazers_count":227,"open_issues_count":7,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T09:39:54.219Z","etag":null,"topics":["coc","document-highlight","highlight-symbol","neovim","vim"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neoclide.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-18T21:25:46.000Z","updated_at":"2025-01-18T04:24:29.000Z","dependencies_parsed_at":"2023-01-15T06:22:19.223Z","dependency_job_id":null,"html_url":"https://github.com/neoclide/coc-highlight","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/neoclide/coc-highlight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-highlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-highlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-highlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-highlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neoclide","download_url":"https://codeload.github.com/neoclide/coc-highlight/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-highlight/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261110622,"owners_count":23111066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coc","document-highlight","highlight-symbol","neovim","vim"],"created_at":"2024-07-31T16:02:09.310Z","updated_at":"2025-06-21T11:09:16.110Z","avatar_url":"https://github.com/neoclide.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","User Experience"],"sub_categories":[],"readme":"# coc-highlight\n\nProvide filetype irrelevant highlights to [coc.nvim](https://github.com/neoclide/coc.nvim),\nincluding document highlight (highlight of current document symbol) and color\nhighlights.\n\n\u003cimg width=\"480\" alt=\"Screen Shot 2019-07-01 at 9 11 33 AM\" src=\"https://user-images.githubusercontent.com/251450/60405074-979ae080-9be0-11e9-8039-b9a48fd8b5ad.png\"\u003e\n\n**Important** the implementation from version 2.0.0 have changed from language\nserver to worker threads, and only changed lines are calculated for colors.\n\n## Install\n\nIn your vim/neovim, run command:\n\n```\n:CocInstall coc-highlight\n```\n\n## Features\n\n- Highlight the same word symbols of word under cursor.\n- Add color highlights to buffers when enabled.\n\n## Usage\n\nTo enable highlight current symbol on `CursorHold`, add:\n\n```vim\nautocmd CursorHold * silent call CocActionAsync('highlight')\n```\n\nto your `.vimrc` or use the [coc_current_word plugin](https://github.com/IngoMeyer441/coc_current_word) which provides\nconfigurable delayed highlighting independently from the user's `updatetime` setting.\n\nTo add colors support for all filetypes, use:\n\n```json\n\"colors.enable\": true,\n```\n\nto your `settings.json`.\n\nTo pick a different color, use command:\n\n```\n:call CocAction('pickColor')\n```\n\n**Note:** only works on Mac or have python gtk module installed.\n\nTo pick a different color presentation, use command:\n\n```\n:call CocAction('colorPresentation')\n```\n\n## Options\n\n- `highlight.trace`: Trace level for colors highlight. default: `\"messages\"`\n  Valid options: [\"off\",\"messages\",\"verbose\"]\n- `highlight.disableLanguages`: List of filetypes to ignore. default: `[]`\n- `highlight.document.enable`: Set to false disable document highlight of current symbol, reload coc.nvim required on change, default: `true`\n- `highlight.colors.enable`: Set to false to disable color highlight, reload coc.nvim required on change, default: `true`\n- `highlight.colorNames.enable`: Set to false to disable highlight of color names, default: `true`\n\n## F.A.Q\n\n**Q:** Why color highlight is not shown on my vim?\n\n**A:** For terminal vim, you have to enable 24-bit RGB color by `set termguicolors` and make sure your terminal support true colors. To make sure the\nhighlight is not disabled, enable verbose output by `\"highlight.trace\": \"verbose\"` in configuration file and checkout the output by `:CocCommand workspace.showOutput highlight`.\n\n**Q:** How to change highlight of the current symbol.\n\n**A:** All you need is overwrite the highlight group, checkout `:h coc-highlights`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoclide%2Fcoc-highlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneoclide%2Fcoc-highlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoclide%2Fcoc-highlight/lists"}