{"id":13898192,"url":"https://github.com/MTDL9/vim-log-highlighting","last_synced_at":"2025-07-17T15:32:31.114Z","repository":{"id":33332785,"uuid":"140226221","full_name":"MTDL9/vim-log-highlighting","owner":"MTDL9","description":"Syntax highlighting for generic log files in VIM","archived":false,"fork":false,"pushed_at":"2023-11-27T10:38:51.000Z","size":484,"stargazers_count":232,"open_issues_count":12,"forks_count":40,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-25T04:35:43.752Z","etag":null,"topics":["log","log-analysis","log-highlight","log-viewer","log-visualization","log-visualizer","syntax-highlighting","vim","vim-plugin","vim-syntax","visualize-logs"],"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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MTDL9.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-09T03:23:28.000Z","updated_at":"2024-11-19T02:33:38.000Z","dependencies_parsed_at":"2024-06-20T11:14:22.652Z","dependency_job_id":"c7f86eb1-ce51-46dd-86e7-f898800d6c93","html_url":"https://github.com/MTDL9/vim-log-highlighting","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MTDL9/vim-log-highlighting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTDL9%2Fvim-log-highlighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTDL9%2Fvim-log-highlighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTDL9%2Fvim-log-highlighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTDL9%2Fvim-log-highlighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MTDL9","download_url":"https://codeload.github.com/MTDL9/vim-log-highlighting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MTDL9%2Fvim-log-highlighting/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265622719,"owners_count":23800028,"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":["log","log-analysis","log-highlight","log-viewer","log-visualization","log-visualizer","syntax-highlighting","vim","vim-plugin","vim-syntax","visualize-logs"],"created_at":"2024-08-06T18:04:09.035Z","updated_at":"2025-07-17T15:32:30.749Z","avatar_url":"https://github.com/MTDL9.png","language":"Vim script","readme":"# Vim Log Highlighting\n\n![Log highlighting example](doc/screenshot.jpg)\n\n## Overview\n\nProvides syntax highlighting for generic log files in VIM.\n\nSome of the highlighted elements are:\n- Dates and times\n- Common log level keywords like ERROR, INFO, DEBUG\n- Numbers, booleans and strings\n- URLs and file paths\n- IP and MAC addresses\n- SysLog format columns\n- XML Tags\n\n\n\n## Installation\n\n### [VimPlug](https://github.com/junegunn/vim-plug)\n\nAdd `Plug 'mtdl9/vim-log-highlighting'` to your `~/.vimrc` and run `PlugInstall`.\n\n### [Vundle](https://github.com/gmarik/Vundle.vim)\n\nAdd `Plugin 'mtdl9/vim-log-highlighting'` to your `~/.vimrc` and run `PluginInstall`.\n\n### [Pathogen](https://github.com/tpope/vim-pathogen)\n\n    $ git clone https://github.com/mtdl9/vim-log-highlighting ~/.vim/bundle/vim-log-highlighting\n\n### Manual Install\n\nCopy the contents of the `ftdetect` and `syntax` folders in their respective ~/.vim/\\* counterparts.\n\n\n\n## Configuration\n\nOnce installed, the syntax highlighting will be enabled by default for files ending with `.log` and `_log` suffixes.\n\nBy default only uppercase keywords are recognized as level indicators in the log files.\nYou can add additional log level keywords using the standard VIM syntax functions, for example by adding this to your `.vimrc` file:\n\n```viml\n\" Add custom level identifiers\nau rc Syntax log syn keyword logLevelError MY_CUSTOM_ERROR_KEYWORD\n```\n\nLikewise you can disable highlighting for elements you don't need:\n\n```viml\n\" Remove highlighting for URLs\nau rc Syntax log syn clear logUrl\n```\n\n\n\n## Related Projects\n\n* VIM Built-in /var/log/messages highlighting\n* [vim-log-syntax](https://github.com/dzeban/vim-log-syntax) by dzeban\n* [vim-log4j](https://github.com/tetsuo13/Vim-log4j) by tetsuo13\n* [ccze](https://github.com/cornet/ccze) by cornet\n","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMTDL9%2Fvim-log-highlighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMTDL9%2Fvim-log-highlighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMTDL9%2Fvim-log-highlighting/lists"}