Bend 2 for Neovim
Neovim plugin for Bend 2 file editing and compiler-backed checks, navigation, diagnostics and proof exploration.
The sources
Explore the original posts and links behind this build.
GitHubhttps://github.com/nuxyel/bend2-nvim ↗GitHubhttps://github.com/nuxyel/bend2-nvim/blob/main/README.md ↗Start editing Bend 2 in Neovim
Bend2.nvim provides native Lua editing support without Node.js or a separate language-server executable. Editing works without the Bend compiler; compiler-backed checks, proof workflows, Bend Base completion, builds and runs require an installed Bend 2.0.28 or newer, according to the maintainer.
For Neovim 0.11 or newer, choose the maintainer’s lazy.nvim instructions or native package layout. The plugin is installed from Git, with a published v1.0.0 release. The separate vim.pack option requires Neovim 0.12 or newer and uses an experimental API.
Once the plugin and compiler are configured, open examples/proof-workflow/main.bend from the plugin repository, then try :Bend2CheckWorkspace and :Bend2Proofs. The pinned proof-workflow example and source show the starting project; the configuration reference explains compiler selection and help commands. A successful check is not a guarantee about unwritten requirements or production readiness.
Checked by Built with Bend on : the native package layout loaded plugin revision a673127 on Linux x86-64 with Neovim 0.11.7 and Bend 2.0.39. We configured cmd to that Bend executable, opened the example above and ran the two commands. The workspace check returned PASS; Proof Explorer showed adding_zero_preserves_value as proved.
This was an isolated first-use smoke check, not the full plugin test suite or a check with the proven kernel via --verdict. We did not test macOS, WSL or Neovim 0.12. The maintainer’s documented compiler test matrix covers 2.0.28 and 2.0.32, not every later version; our result adds only the exact combination above.