tpope/vim-endwise
endwise.vim: Wisely add observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 50
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6107
- days_rel: n/a
- days_push: 301
- n_releases_24m: 0
Adoption not part of the score
1167 stars · 102 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
endwise.vim is a Vim plugin that automatically adds matching end structures when you press Enter, such as adding `end` after Ruby `if`/`def`/`do` blocks or `endif`/`endfunction` in Vimscript. It supports many languages including Ruby, Vimscript, shell, Lua, Elixir, Haskell, Matlab, Crystal, Verilog, and Jinja templates, and never inserts an end keyword if one already exists.
Use cases
- automatically add end after if def do in ruby
- auto-close blocks in vim when pressing enter
- add endif and endfunction automatically in vimscript
- vim plugin to complete lua and elixir block endings
- stop forgetting to close blocks in vim
- auto-insert matching end keywords for multiple languages in vim
When to choose
- you write Ruby, Vimscript, Lua, Elixir, or other supported languages in Vim and want block ends inserted automatically
- you want a lightweight, conservative plugin that never inserts an erroneous end keyword
- you use Vim's native package support or any plugin manager
When to avoid
- you use Neovim with Lua-based alternatives like nvim-autopairs that cover this behavior
- your language is not among the supported filetypes and you don't want to write custom autocmd configuration
- you want full IDE-style auto-indentation and snippet expansion rather than just end insertion
Facets
plugin · maturity stable
editor developer-tools text-editors developer-tools editor-plugin cli vim vim-plugin code-completion block-end-insertion
5 sources
- readme: https://github.com/tpope/vim-endwise · fetched 2026-08-28 · b7227163d9f3
- homepage: https://www.vim.org/scripts/script.php?script_id=2386 · fetched 2026-08-29 · 1c28373906d7
- site_page: https://www.vim.org/about.php · fetched 2026-08-29 · 1bd2c1907ce5
- site_page: https://www.vim.org/docs.php · fetched 2026-08-29 · 438015e9e2e2
- site_page: http://www.vim.org/about.php · fetched 2026-08-29 · fbe78bde9535
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tpope/vim-endwise | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="tpope/vim-endwise")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem