{"id":50731407,"url":"https://github.com/beixiyo/vv-log-hl.nvim","last_synced_at":"2026-06-10T09:01:18.451Z","repository":{"id":359753009,"uuid":"1220667668","full_name":"beixiyo/vv-log-hl.nvim","owner":"beixiyo","description":"Syntax highlighting for log files. 日志文件语法高亮","archived":false,"fork":false,"pushed_at":"2026-05-23T08:48:02.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T10:35:13.740Z","etag":null,"topics":["logs","lua","neovim","neovim-plugin","nvim","nvim-plugin","syntax","syntax-highlighting"],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/beixiyo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-25T07:06:29.000Z","updated_at":"2026-05-23T08:48:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/beixiyo/vv-log-hl.nvim","commit_stats":null,"previous_names":["beixiyo/vv-log-hl.nvim"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/beixiyo/vv-log-hl.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-log-hl.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-log-hl.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-log-hl.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-log-hl.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beixiyo","download_url":"https://codeload.github.com/beixiyo/vv-log-hl.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-log-hl.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34144680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["logs","lua","neovim","neovim-plugin","nvim","nvim-plugin","syntax","syntax-highlighting"],"created_at":"2026-06-10T09:01:17.028Z","updated_at":"2026-06-10T09:01:18.436Z","avatar_url":"https://github.com/beixiyo.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003evv-log-hl.nvim\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cem\u003e日志文件语法高亮 — 等级关键词着色 + 圆角 badge 装饰\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Neovim-0.10+-57A143?style=flat-square\u0026logo=neovim\u0026logoColor=white\" alt=\"Requires Neovim 0.10+\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Lua-2C2D72?style=flat-square\u0026logo=lua\u0026logoColor=white\" alt=\"Lua\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/zero_deps-✓-2ea44f?style=flat-square\" alt=\"Zero Dependencies\" /\u003e\n\u003c/p\u003e\n\n---\n\n## 安装\n\n```lua\n{\n  'beixiyo/vv-log-hl.nvim',\n  ft = 'log',\n  ---@type VVLogHighlight.Config\n  opts = {\n    extension = 'log',     -- 按扩展名检测 filetype（string | string[]）\n    filename = {},          -- 按完整文件名检测（string | string[]）\n    pattern = {},           -- 按 Lua pattern 匹配路径检测（string | string[]）\n    badge = true,           -- 是否启用圆角 badge 效果（Powerline 圆角字符 extmark）\n    keyword = {\n      error = {},           -- 追加到 error 等级的自定义关键词\n      warning = {},\n      info = {},\n      debug = {},\n      pass = {},\n    },\n  },\n}\n```\n\n## 配置\n\n| 选项 | 类型 | 默认值 | 说明 |\n|------|------|--------|------|\n| `extension` | `string \\| string[]` | `'log'` | 按扩展名注册 filetype |\n| `filename` | `string \\| string[]` | `{}` | 按完整文件名注册 filetype |\n| `pattern` | `string \\| string[]` | `{}` | 按 Lua pattern 匹配路径注册 filetype |\n| `badge` | `boolean` | `true` | 启用圆角 badge（extmark inline 虚拟文本，不修改 buffer） |\n| `keyword` | `table\u003cstring, string \\| string[]\u003e` | `{}` | 自定义关键词，按等级分组追加 |\n\n### 内置等级关键词\n\n| 等级 | 关键词（大小写不敏感） |\n|------|----------------------|\n| **Fatal** | `fatal`, `emerg`, `emergency`, `alert`, `crit`, `critical`, `panic` |\n| **Error** | `error`, `err`, `errors`, `fail`, `failed`, `failure` |\n| **Warning** | `warn`, `warning` |\n| **Notice** | `notice` |\n| **Info** | `info` |\n| **Debug** | `debug`, `dbg`, `trace`, `verbose` |\n| **Pass** | `pass`, `passed`, `success`, `done`, `ok`, `complete`, `finished` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeixiyo%2Fvv-log-hl.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeixiyo%2Fvv-log-hl.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeixiyo%2Fvv-log-hl.nvim/lists"}