{"id":18029873,"url":"https://github.com/zeioth/vim-rustdoc","last_synced_at":"2026-01-31T03:01:54.672Z","repository":{"id":159856565,"uuid":"631730372","full_name":"Zeioth/vim-rustdoc","owner":"Zeioth","description":"Rustdoc integration for vim ","archived":false,"fork":false,"pushed_at":"2023-06-19T15:24:44.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T08:58:12.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zeioth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"Zeioth","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-04-23T23:27:04.000Z","updated_at":"2023-04-24T00:40:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"3528bc5d-f30b-4499-9087-5e6b8b9aad1e","html_url":"https://github.com/Zeioth/vim-rustdoc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Zeioth/vim-rustdoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeioth%2Fvim-rustdoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeioth%2Fvim-rustdoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeioth%2Fvim-rustdoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeioth%2Fvim-rustdoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zeioth","download_url":"https://codeload.github.com/Zeioth/vim-rustdoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeioth%2Fvim-rustdoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28927769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T02:59:34.861Z","status":"ssl_error","status_checked_at":"2026-01-31T02:59:05.369Z","response_time":128,"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":[],"created_at":"2024-10-30T09:11:49.338Z","updated_at":"2026-01-31T03:01:54.657Z","avatar_url":"https://github.com/Zeioth.png","language":"Vim Script","funding_links":["https://github.com/sponsors/Zeioth"],"categories":[],"sub_categories":[],"readme":"# vim-rustdoc\nOut of the box, this plugin automatically regenerates your rustdoc\ndocumentation. Currently, this plugin is in highly experimental state.\n\n## Dependencies\nNone. This tool is shipped with Rust.\n\n## Documentation\nPlease use \u003c:h rustdoc\u003e on vim to read the [full documentation](https://github.com/Zeioth/vim-rustdoc/blob/main/doc/rustdoc.txt).\n\n## How to use\nCopy this in your vimconfig:\n\n```\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\" =\u003e vim rustdoc\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\n\" Enable it for the next languages\nlet g:rustdoc_include_filetypes = ['rust']\n\n\" Enable the keybindings for the languages in g:rustdoc_include_filetypes\naugroup rustdoc_mappings\n  for ft in g:rustdoc_include_filetypes\n    execute 'autocmd FileType ' . ft . ' nnoremap \u003cbuffer\u003e \u003cC-h\u003e :\u003cC-u\u003eRustdocOpen\u003cCR\u003e'\n    \"execute 'autocmd FileType ' . ft . ' nnoremap \u003cbuffer\u003e \u003cC-k\u003e :\u003cC-u\u003eRustdocRegen\u003cCR\u003e'\n  endfor\naugroup END\n```\n\n## Most frecuent options users customize\n\nEnable automated doc generation on save (optional)\n```\n\" Enabled by default for the languages defined in g:rustdoc_include_filetypes\nlet g:rustdoc_auto_regen = 1\n```\n\nChange the way the documentation is opened (optional)\n```\n\" rustdoc - Open on browser\nlet g:rustdoc_browser_cmd = get(g:, 'rustdoc_browser_cmd', 'xdg-open')\nlet g:rustdoc_browser_file = get(g:, 'rustdoc_browser_file', './docs/index.html')\n```\n\nCustom command to generate the rustdoc documentation (optional)\n\n```\nlet g:rustdoc_cmd = 'rustdoc'\n```\n\nChange the way the root of the project is detected (optional)\n\n```\n\" By default, we detect the root of the project where the first .git file is found\nlet g:rustdoc_project_root = ['.git', '.hg', '.svn', '.bzr', '_darcs', '_FOSSIL_', '.fslckout']\n```\n\n## Final notes\n\nPlease have in mind that you are responsable for adding your rustdoc directory to the .gitignore if you don't want it to be pushed by accident.\n\nIt is also possible to disable this plugin for a single project. For that, create .norustdoc file in the project root directory.\n\n## Credits\nThis project started as a hack of [vim-doxygen](https://github.com/Zeioth/vim-doxygen), which started as a hack of [vim-guttentags](https://github.com/ludovicchabant/vim-gutentags). We use its boiler plate functions to manage directories in vimscript with good compatibility across operative systems. So please support its author too if you can!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeioth%2Fvim-rustdoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeioth%2Fvim-rustdoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeioth%2Fvim-rustdoc/lists"}