{"id":25456204,"url":"https://github.com/m1dsolo/chinese-formatter.nvim","last_synced_at":"2026-05-18T10:10:58.914Z","repository":{"id":278039368,"uuid":"934325249","full_name":"m1dsolo/chinese-formatter.nvim","owner":"m1dsolo","description":"用于美化中英文混排文本的 Neovim 插件","archived":false,"fork":false,"pushed_at":"2025-02-17T16:44:14.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-16T16:50:32.807Z","etag":null,"topics":["lua","neovim","neovim-plugin","nvim","nvim-plugin"],"latest_commit_sha":null,"homepage":"","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/m1dsolo.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":"2025-02-17T16:34:34.000Z","updated_at":"2025-02-17T16:44:17.000Z","dependencies_parsed_at":"2025-02-17T17:48:00.481Z","dependency_job_id":null,"html_url":"https://github.com/m1dsolo/chinese-formatter.nvim","commit_stats":null,"previous_names":["m1dsolo/chinese-formatter.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m1dsolo/chinese-formatter.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1dsolo%2Fchinese-formatter.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1dsolo%2Fchinese-formatter.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1dsolo%2Fchinese-formatter.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1dsolo%2Fchinese-formatter.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1dsolo","download_url":"https://codeload.github.com/m1dsolo/chinese-formatter.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1dsolo%2Fchinese-formatter.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["lua","neovim","neovim-plugin","nvim","nvim-plugin"],"created_at":"2025-02-18T01:29:27.145Z","updated_at":"2026-05-18T10:10:58.885Z","avatar_url":"https://github.com/m1dsolo.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chinese Formatter\n\n一个用于美化中英文混排文本的 Neovim 插件\n\n![chinese_formatter_format](https://github.com/user-attachments/assets/6fc4e29f-9233-4142-94d0-c71af5798390)\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- 自动调整中文和英文之间的空格。\n- 自动调整中文和数字之间的空格。\n\n## Installation\n\n使用 [lazy.nvim](https://github.com/folke/lazy.nvim)。\n\n```lua\nreturn {\n    \"m1dsolo/chinese-formatter.nvim\",\n    lazy = true,\n    ft = \"markdown\",\n    opts = {\n        auto_format_on_save = true,\n        space_between_zh_and_en = true,\n        space_between_zh_and_num = true,\n        space_between_sym_and_link = true,\n        space_between_sym_and_pic = true,\n    },\n}\n```\n\n## Usage\n\n当你设置 `auto_format_on_save` 为 `true` 时，\n这个插件自动会在你保存文件时自动格式化文本。\n\n如果你想手动格式化文本，可以使用 `ChineseFormatterFormat` 命令。\n\n## Contributing\n\n目前这个插件主要是为了解决个人写博客时遇到的排版问题，所以功能比较简单。\n\n如果你有更好的想法或者建议，欢迎提 issue 或者 pr 。\n\n## License\n\n[MIT](LICENSE) © m1dsolo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1dsolo%2Fchinese-formatter.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1dsolo%2Fchinese-formatter.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1dsolo%2Fchinese-formatter.nvim/lists"}