{"id":27240630,"url":"https://github.com/h3pei/autosave.nvim","last_synced_at":"2026-03-02T03:04:29.986Z","repository":{"id":150289109,"uuid":"561691029","full_name":"h3pei/autosave.nvim","owner":"h3pei","description":"A Neovim plugin that provide autosave functionality.","archived":false,"fork":false,"pushed_at":"2025-08-16T08:15:03.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T02:34:40.237Z","etag":null,"topics":["lua","neovim"],"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/h3pei.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":"2022-11-04T09:12:28.000Z","updated_at":"2025-08-16T08:10:10.000Z","dependencies_parsed_at":"2025-03-22T09:33:57.551Z","dependency_job_id":null,"html_url":"https://github.com/h3pei/autosave.nvim","commit_stats":null,"previous_names":["h3pei/autosave.nvim"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/h3pei/autosave.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3pei%2Fautosave.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3pei%2Fautosave.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3pei%2Fautosave.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3pei%2Fautosave.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h3pei","download_url":"https://codeload.github.com/h3pei/autosave.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3pei%2Fautosave.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29991299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":["lua","neovim"],"created_at":"2025-04-10T19:21:02.219Z","updated_at":"2026-03-02T03:04:29.981Z","avatar_url":"https://github.com/h3pei.png","language":"Lua","readme":"# autosave.nvim\n\nProvide autosave functionality to Neovim.\n\nInspired by [vim-auto-save](https://github.com/vim-scripts/vim-auto-save).\n\n## Installation\n\n[packer.nvim](https://github.com/wbthomason/packer.nvim)\n\n```lua\nuse { \"h3pei/autosave.nvim\" }\n```\n\n[vim-plug](https://github.com/junegunn/vim-plug)\n\n```vim\nPlug \"h3pei/autosave.nvim\"\n```\n\n## Usage\n\nAll you have to do is call the `setup()` function.\n\n```lua\nrequire('autosave').setup()\n```\n\n### Configuration\n\nSome behaviors are customizable.\n\n```lua\n-- default settings\nrequire('autosave').setup({\n  enabled = true,\n  silent = false,\n  autosave_events = { \"InsertLeave\", \"TextChanged\", \"CursorHold\" },\n  postsave_hook = nil,\n  exclude_filetypes = {},\n})\n```\n\n#### enabled (type: boolean)\n\nDefault: `true`\n\nIf `true`, autosave is enabled.\n\n#### silent (type: boolean)\n\nDefault: `false`\n\nIf `true`, no message is output during autosave.\n\n#### autosave_events (type: table)\n\nDefault: `{ \"InsertLeave\", \"TextChanged\", \"CursorHold\" }`\n\nEvents that perform autosave.\n\nIf you want to enable autosave even while in INSERT mode, you may additionally specify `CursorHoldI` and `CompleteDone`.\n\nSee `:help events` for more information about events.\n\n#### postsave_hook (type: function)\n\nDefault: `nil`\n\nSpecify the process you want to perform after auto save as a lua function.\n\n#### exclude_filetypes (type: table)\n\nDefault: `{}`\n\nList of filetypes for which autosave should be disabled.\n\nFor example, to disable autosave for oil.nvim buffers:\n\n```lua\nrequire('autosave').setup({\n  exclude_filetypes = { \"oil\" },\n})\n```\n\n### Commands\n\nSeveral useful commands are built-in.\n\n|Command|Description|\n|:--|:--|\n|`:AutosaveEnable`|Enable autosave.|\n|`:AutosaveDisable`|Disable autosave.|\n|`:AutosaveToggle`|Toggle autosave.|\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh3pei%2Fautosave.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh3pei%2Fautosave.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh3pei%2Fautosave.nvim/lists"}