{"id":13485261,"url":"https://github.com/josa42/vim-lightline-coc","last_synced_at":"2025-03-27T17:30:55.614Z","repository":{"id":39092853,"uuid":"179063198","full_name":"josa42/vim-lightline-coc","owner":"josa42","description":null,"archived":true,"fork":false,"pushed_at":"2021-12-06T18:44:24.000Z","size":17,"stargazers_count":51,"open_issues_count":5,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-30T19:42:56.851Z","etag":null,"topics":["lightline","neovim","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/josa42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-02T11:28:04.000Z","updated_at":"2024-07-01T06:10:20.000Z","dependencies_parsed_at":"2022-09-16T22:24:54.816Z","dependency_job_id":null,"html_url":"https://github.com/josa42/vim-lightline-coc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josa42%2Fvim-lightline-coc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josa42%2Fvim-lightline-coc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josa42%2Fvim-lightline-coc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josa42%2Fvim-lightline-coc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josa42","download_url":"https://codeload.github.com/josa42/vim-lightline-coc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245892499,"owners_count":20689509,"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":["lightline","neovim","vim","vim-plugin"],"created_at":"2024-07-31T17:01:53.296Z","updated_at":"2025-03-27T17:30:55.187Z","avatar_url":"https://github.com/josa42.png","language":"Vim script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"# lightline-coc\n\nThis plugin provides [coc](https://github.com/neoclide/coc.nvim) diagnostics indicator for the [lightline](https://github.com/itchyny/lightline.vim) vim plugin.\n\n![Example](.github/example-v2.jpg)\n\n## Installation\n\nInstall using a plugin manager of your choice, for example [`vim-plug`](https://github.com/junegunn/vim-plug):\n\n```viml\nPlug 'josa42/vim-lightline-coc'\n```\n\n## Components\n\n- `coc_errors` Number of diagnostics errors\n- `coc_warnings` Number of diagnostics warnings\n- `coc_info` Number of diagnostics information messages\n- `coc_hints` Number of diagnostics hints\n- `coc_ok` Checkmark if there are no errors or warnings\n- `coc_status` Show status messages if there are any.\n\n## Integration\n\n```viml\nlet g:lightline = {\n  \\   'active': {\n  \\     left': [[  'coc_info', 'coc_hints', 'coc_errors', 'coc_warnings', 'coc_ok' ], [ 'coc_status'  ]]\n  \\   }\n  \\ }\n\n\" register compoments:\ncall lightline#coc#register()\n```\n\n**Or register manually**\n\n```viml\n\" Register the components:\nlet g:lightline = {}\nlet g:lightline.component_expand = {\n  \\   'linter_warnings': 'lightline#coc#warnings',\n  \\   'linter_errors': 'lightline#coc#errors',\n  \\   'linter_info': 'lightline#coc#info',\n  \\   'linter_hints': 'lightline#coc#hints',\n  \\   'linter_ok': 'lightline#coc#ok',\n  \\   'status': 'lightline#coc#status',\n  \\ }\n\n\" Set color to the components:\nlet g:lightline.component_type = {\n  \\   'linter_warnings': 'warning',\n  \\   'linter_errors': 'error',\n  \\   'linter_info': 'info',\n  \\   'linter_hints': 'hints',\n  \\   'linter_ok': 'left',\n  \\ }\n\n\" Add the components to the lightline:\nlet g:lightline.active = {\n  \\   left': [[ 'coc_info', 'coc_hints', 'coc_errors', 'coc_warnings', 'coc_ok' ], [ 'coc_status'  ]]\n  \\ }\n```\n\n## Configuration\n\n- `g:lightline#coc#indicator_warnings`\n  The indicator to use when there are warnings. Default is `•`.\n\n- `g:lightline#coc#indicator_errors`\n  The indicator to use when there are errors. Default is `×`.\n\n- `g:lightline#coc#indicator_info`\n  The indicator to use when there are information messages. Default is `~`.\n\n- `g:lightline#coc#indicator_hints`\n  The indicator to use when there are hints. Default is `\u003e`.\n\n- `g:lightline#coc#indicator_ok`\n  The indicator to use when there are no warnings or errors. Default is `✓`.\n\n## Credit\n\n- The plugin is based on [`maximbaz/lightline-ale`](https://github.com/maximbaz/lightline-ale)\n\n## License\n\n[MIT © Josa Gesell](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosa42%2Fvim-lightline-coc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosa42%2Fvim-lightline-coc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosa42%2Fvim-lightline-coc/lists"}