{"id":13898714,"url":"https://github.com/maximbaz/lightline-ale","last_synced_at":"2025-08-28T09:14:37.556Z","repository":{"id":46786935,"uuid":"108913795","full_name":"maximbaz/lightline-ale","owner":"maximbaz","description":"ALE indicator for the lightline vim plugin","archived":false,"fork":false,"pushed_at":"2021-09-12T02:09:06.000Z","size":72,"stargazers_count":251,"open_issues_count":2,"forks_count":14,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-10T00:26:20.401Z","etag":null,"topics":["ale","lightline","linter","vim","vim-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maximbaz.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":"2017-10-30T22:07:46.000Z","updated_at":"2025-04-02T11:15:51.000Z","dependencies_parsed_at":"2022-07-26T17:32:17.511Z","dependency_job_id":null,"html_url":"https://github.com/maximbaz/lightline-ale","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maximbaz/lightline-ale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbaz%2Flightline-ale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbaz%2Flightline-ale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbaz%2Flightline-ale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbaz%2Flightline-ale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximbaz","download_url":"https://codeload.github.com/maximbaz/lightline-ale/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbaz%2Flightline-ale/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272475594,"owners_count":24940719,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ale","lightline","linter","vim","vim-plugin"],"created_at":"2024-08-06T18:04:25.124Z","updated_at":"2025-08-28T09:14:37.534Z","avatar_url":"https://github.com/maximbaz.png","language":"Vim script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"# lightline-ale\n\nThis plugin provides [ALE](https://github.com/w0rp/ale) indicator for the [lightline](https://github.com/itchyny/lightline.vim) vim plugin.\n\n![screenshot](./screenshot.png)\n\n## Table Of Contents\n\n- [Installation](#installation)\n- [Integration](#integration)\n- [Configuration](#configuration)\n- [License](#license)\n\n## Installation\n\nInstall using a plugin manager of your choice, for example:\n\n```viml\ncall dein#add('dense-analysis/ale')       \" Dependency: linter\ncall dein#add('itchyny/lightline.vim')    \" Dependency: status line\ncall dein#add('maximbaz/lightline-ale')\n```\n\n## Integration\n\n1. Register the components:\n\n```viml\nlet g:lightline = {}\n\nlet g:lightline.component_expand = {\n      \\  'linter_checking': 'lightline#ale#checking',\n      \\  'linter_infos': 'lightline#ale#infos',\n      \\  'linter_warnings': 'lightline#ale#warnings',\n      \\  'linter_errors': 'lightline#ale#errors',\n      \\  'linter_ok': 'lightline#ale#ok',\n      \\ }\n```\n\n2. Set color to the components:\n\n```viml\nlet g:lightline.component_type = {\n      \\     'linter_checking': 'right',\n      \\     'linter_infos': 'right',\n      \\     'linter_warnings': 'warning',\n      \\     'linter_errors': 'error',\n      \\     'linter_ok': 'right',\n      \\ }\n```\n\n3. Add the components to the lightline, for example to the right side:\n\n```viml\nlet g:lightline.active = { 'right': [[ 'linter_checking', 'linter_errors', 'linter_warnings', 'linter_infos', 'linter_ok' ]] }\n```\n\n3.1. Lineinfo, fileformat, etc. have to be added additionaly. Final example:\n\n```viml\nlet g:lightline.active = {\n            \\ 'right': [ [ 'linter_checking', 'linter_errors', 'linter_warnings', 'linter_infos', 'linter_ok' ],\n            \\            [ 'lineinfo' ],\n\t    \\            [ 'percent' ],\n\t    \\            [ 'fileformat', 'fileencoding', 'filetype'] ] }\n\n```\n            \n## Configuration\n\n##### `g:lightline#ale#indicator_checking`\n\nThe indicator to use when ALE is in progress. Default is `Linting...`.\n\n##### `g:lightline#ale#indicator_infos`\n\nThe indicator to use when there are infos. Default is `I:`.\n\n##### `g:lightline#ale#indicator_warnings`\n\nThe indicator to use when there are warnings. Default is `W:`.\n\n##### `g:lightline#ale#indicator_errors`\n\nThe indicator to use when there are errors. Default is `E:`.\n\n##### `g:lightline#ale#indicator_ok`\n\nThe indicator to use when there are no warnings or errors. Default is `OK`.\n\n### Using icons as indicators\n\nIf you would like to replace the default indicators with symbols like on the screenshot, then you'll need to ensure you have some \"iconic fonts\" installed, such as [Font Awesome](https://fontawesome.com). A common alternative is to replace your primary font with one of the [Patched Nerd Fonts](https://github.com/ryanoasis/nerd-fonts), which saves you from having to install multiple fonts.\n\nThe following icons from the Font Awesome font are used in the screenshot:\n\n- Checking: [f110](https://fontawesome.com/icons/spinner)\n- Infos: [f129](https://fontawesome.com/icons/info)\n- Warnings: [f071](https://fontawesome.com/icons/exclamation-triangle)\n- Errors: [f05e](https://fontawesome.com/icons/ban)\n- OK: [f00c](https://fontawesome.com/icons/check) (although I prefer to disable this component)\n\nTo specify icons in the configuration, use their unicode codes as `\"\\uXXXX\"` (make sure to wrap them in double quotes). Alternatively copy the icons from a font website, or type \u003ckbd\u003e\\\u003cC-v\\\u003eu\\\u003c4-digit-unicode\\\u003e\u003c/kbd\u003e or \u003ckbd\u003e\\\u003cC-v\\\u003eU\\\u003c8-digit-unicode\\\u003e\u003c/kbd\u003e to insert the literal characters.\n\nSee the code points here:\n\n- Font Awesome: https://fontawesome.com/icons\n- Nerd Fonts: https://github.com/ryanoasis/nerd-fonts#glyph-sets\n\nHere's the configuration snippet used in the screenshot:\n\n```viml\nlet g:lightline#ale#indicator_checking = \"\\uf110\"\nlet g:lightline#ale#indicator_infos = \"\\uf129\"\nlet g:lightline#ale#indicator_warnings = \"\\uf071\"\nlet g:lightline#ale#indicator_errors = \"\\uf05e\"\nlet g:lightline#ale#indicator_ok = \"\\uf00c\"\n```\n\n## License\n\nReleased under the [ISC License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximbaz%2Flightline-ale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximbaz%2Flightline-ale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximbaz%2Flightline-ale/lists"}