{"id":19246218,"url":"https://github.com/mrossinek/vim-verdict","last_synced_at":"2026-04-15T14:39:23.554Z","repository":{"id":111785093,"uuid":"196194254","full_name":"mrossinek/vim-verdict","owner":"mrossinek","description":"A version-control-friendly prose text formatter for vim (and neovim).","archived":false,"fork":false,"pushed_at":"2020-04-01T14:03:55.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T15:45:19.488Z","etag":null,"topics":["format","git","indent","neovim","nvim","prose","text","vcs","vim"],"latest_commit_sha":null,"homepage":"https://gitlab.com/mrossinek/vim-verdict","language":"Vim script","has_issues":false,"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/mrossinek.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":"2019-07-10T11:39:45.000Z","updated_at":"2021-12-31T13:08:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1d424bb-9f3c-43ae-8f8a-a27d0443d30a","html_url":"https://github.com/mrossinek/vim-verdict","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrossinek/vim-verdict","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrossinek%2Fvim-verdict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrossinek%2Fvim-verdict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrossinek%2Fvim-verdict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrossinek%2Fvim-verdict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrossinek","download_url":"https://codeload.github.com/mrossinek/vim-verdict/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrossinek%2Fvim-verdict/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31846418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"last_error":"SSL_read: 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":["format","git","indent","neovim","nvim","prose","text","vcs","vim"],"created_at":"2024-11-09T17:30:56.998Z","updated_at":"2026-04-15T14:39:23.520Z","avatar_url":"https://github.com/mrossinek.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"vim-verdict\n===========\n\n`vim-verdict` is a simple formatting tool to help you maintain more VCS-friendly\n  prose text.\nIt follows the ideas outlined in this [blog](http://dustycloud.org/blog/vcs-friendly-patchable-document-line-wrapping/).\n\nInstallation\n------------\n\nI would recommend using [minpac](https://github.com/k-takata/minpac) which makes extensive use of the package feature\nwhich was added to Vim 8 and Neovim.\n```\ncall minpac#add('https://gitlab.com/mrossinek/vim-verdict')\n```\nOther package managers work in a similar fashion.\n\nUsage\n-----\n\nSince the functionality provided by `vim-verdict` can be seen as rather\n  restrictive to some use-cases, it is not enabled by default for any filetype.\nTherefore, in order to use it, you must enable it explicitly where appropriate.\nYou can do so by running\n```\n:call verdict#Init()\n```\nYou may also deactivate again with the corresponding `Deinit` function.\n```\n:call verdict#Deinit()\n```\nThis function will initialize some configurable variables (see Configuration\n  further down) and set the following options local to your buffer:\n```\nformatexpr=verdict#Format()\nindentexpr=verdict#Indent(v:lnum)\n```\nThis will enable automatic indentation while typing in insert mode.\nFurthermore, you will be able to use `gq{motion}` to format the text moved over\n  by `motion`.\n\n**Note:** I recommend using the plugin [localvimrc](https://github.com/embear/vim-localvimrc) which allows you to use local\n  `.lvimrc` files to specify additional settings on a project-basis.\nThis will allow you to automatize the initialization of `vim-verdict` where you\n  need it on a regular basis.\nYou could for example add a single `.lvimrc` file to the root of your website,\n  notes directory or tex project.\n\nConfiguration\n-------------\n\n`vim-verdict` makes use of the following variables:\n\n* `g:verdict_loaded`: if existing, verdict is not loaded again [Default: `1` (after initial loading)]\n* `g:verdict_sentence_delims`: symbols delimiting a sentence [Default: `.!?`]\n* `g:verdict_sentence_suffixes`: symbols which may follow a delimiter [Default: `)]}\"''`]\n* `g:verdict_default_textwidth`: default textwidth used when no other value is specified [Default: `80`]\n* `g:verdict_overwrite_shiftwidth`: option to overwrite the shiftwidth with a verdict specific value [no default]\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrossinek%2Fvim-verdict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrossinek%2Fvim-verdict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrossinek%2Fvim-verdict/lists"}