{"id":13681080,"url":"https://github.com/tpope/vim-endwise","last_synced_at":"2025-04-09T09:04:06.446Z","repository":{"id":37484558,"uuid":"434288","full_name":"tpope/vim-endwise","owner":"tpope","description":"endwise.vim: Wisely add ","archived":false,"fork":false,"pushed_at":"2024-01-16T04:34:09.000Z","size":79,"stargazers_count":1091,"open_issues_count":21,"forks_count":103,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-05-01T23:13:54.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.vim.org/scripts/script.php?script_id=2386","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/tpope.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":"CONTRIBUTING.markdown","funding":".github/FUNDING.yml","license":null,"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":"tpope","custom":["https://www.paypal.me/vimpope"]}},"created_at":"2009-12-13T19:36:34.000Z","updated_at":"2024-08-02T13:19:59.195Z","dependencies_parsed_at":"2024-08-02T13:19:56.104Z","dependency_job_id":null,"html_url":"https://github.com/tpope/vim-endwise","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fvim-endwise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fvim-endwise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fvim-endwise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fvim-endwise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpope","download_url":"https://codeload.github.com/tpope/vim-endwise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008628,"owners_count":21032556,"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","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-08-02T13:01:25.931Z","updated_at":"2025-04-09T09:04:06.427Z","avatar_url":"https://github.com/tpope.png","language":"Vim Script","readme":"# endwise.vim\n\nThis is a simple plugin that helps to end certain structures\nautomatically.  In Ruby, this means adding `end` after `if`, `do`, `def`\nand several other keywords. In Vimscript, this amounts to appropriately\nadding `endfunction`, `endif`, etc.  There's also Bourne shell, Z shell,\nVB (don't ask), C/C++ preprocessor, Lua, Elixir, Haskell, Objective-C,\nMatlab, Crystal, Make, Verilog and Jinja templates support.\n\nA primary guiding principle in designing this plugin was that an\nerroneous insertion is never acceptable.  The behavior is only triggered\nonce pressing enter on the end of the line.  When this happens, endwise\nsearches for a matching end structure and only adds one if none is\nfound.\n\nWhile the goal was to make it customizable, this turned out to be a tall\norder.  Every language has vastly different requirements.  Nonetheless,\nfor those bold enough to attempt it, you can follow the model of the\nautocmds in the plugin to set the three magic variables governing\nendwise's behavior.\n\n## Installation\n\nInstall using your favorite package manager, or use Vim's built-in package\nsupport:\n\n    mkdir -p ~/.vim/pack/tpope/start\n    cd ~/.vim/pack/tpope/start\n    git clone https://tpope.io/vim/endwise.git\n\n## Self-Promotion\n\nLike endwise.vim? Follow the repository on\n[GitHub](https://github.com/tpope/vim-endwise) and vote for it on\n[vim.org](http://www.vim.org/scripts/script.php?script_id=2386).  And if\nyou're feeling especially charitable, follow [tpope](http://tpo.pe/) on\n[Twitter](http://twitter.com/tpope) and\n[GitHub](https://github.com/tpope).\n\n## License\n\nCopyright (c) Tim Pope.  Distributed under the same terms as Vim itself.\nSee `:help license`.\n","funding_links":["https://github.com/sponsors/tpope","https://www.paypal.me/vimpope"],"categories":["Vim Script","Rails development","Language Specific"],"sub_categories":["Code completion","Ruby"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpope%2Fvim-endwise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpope%2Fvim-endwise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpope%2Fvim-endwise/lists"}