{"id":16341351,"url":"https://github.com/alx741/vim-rustfmt","last_synced_at":"2025-08-13T07:02:41.569Z","repository":{"id":44752219,"uuid":"165571641","full_name":"alx741/vim-rustfmt","owner":"alx741","description":"Vim Rust rustfmt integration plugin ","archived":false,"fork":false,"pushed_at":"2022-01-26T21:31:49.000Z","size":4,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-13T07:02:02.596Z","etag":null,"topics":["rust","rustfmt","vim"],"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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alx741.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-14T00:45:27.000Z","updated_at":"2025-01-24T22:00:24.000Z","dependencies_parsed_at":"2022-09-10T00:50:58.834Z","dependency_job_id":null,"html_url":"https://github.com/alx741/vim-rustfmt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alx741/vim-rustfmt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fvim-rustfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fvim-rustfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fvim-rustfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fvim-rustfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alx741","download_url":"https://codeload.github.com/alx741/vim-rustfmt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fvim-rustfmt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270198649,"owners_count":24543486,"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-13T02:00:09.904Z","response_time":66,"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":["rust","rustfmt","vim"],"created_at":"2024-10-10T23:59:15.492Z","updated_at":"2025-08-13T07:02:41.435Z","avatar_url":"https://github.com/alx741.png","language":"Vim script","readme":"# vim-rustfmt\n\nIntegrates with [rustfmt](https://github.com/rust-lang/rustfmt) so every time\nyou save a Rust source file it gets automatically prettified.\n\nSimply using `:%!rustfmt` replaces your whole source file with an error message\nfrom **rustfmt** when you happen to have a syntax error in your code, this\nplugin manages that annoyance.\n\n\n## Installation\n\nCompatible with `Vundle`, `Pathogen`, `Vim-plug`, etc.\n\n\n## Usage\n\nBy default, *vim-rustfmt* will format your code automatically when saving a\nRust source file, but you can use the `:Rustfmt` command at any time to\nformat the current file.\n\nTo apply *rustfmt* on a range, either write the range manually or visually\nselect the desired code and then invoke `:Rustfmt`.\n\nUse `:RustfmtEnable`, `:RustfmtDisable`, `:RustfmtToggle` to enable, disable, or\ntoggle running `rustfmt` on save.\n\n\n## Configuration\n\nTrigger *rustfmt* when saving (default = 1):\n\n```vim\ng:rustfmt_on_save = 1\n```\n\nRust edition to use (default = '2021'):\n\n```vim\ng:rustfmt_edition = '2018'\n```\n\nBackup modified files (default = 0):\n\n```vim\ng:rustfmt_backup = 0\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx741%2Fvim-rustfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falx741%2Fvim-rustfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx741%2Fvim-rustfmt/lists"}