A Neovim plugin providing comprehensive language support for the Lean theorem prover, including an infoview, abbreviations, and LSP integration.
lean.nvim is a Neovim plugin that provides comprehensive support for the Lean theorem prover, integrating with Neovim's LSP client to offer real-time feedback, interactive widgets, and specialized editing tools for formal verification. It enhances the development experience by providing features like an infoview for goal states, Unicode abbreviation expansion, and semantic highlighting. The plugin aims to create a seamless, feature-complete editing environment for Lean within Neovim.
This plugin is designed for developers and researchers using the Lean theorem prover for formal verification and interactive theorem proving within the Neovim editor. It is particularly suited for those who prefer a highly customizable, keyboard-driven workflow and deep integration with Neovim's ecosystem.
Developers choose lean.nvim for its deep integration with Lean's language server, providing real-time feedback and interactive widgets directly within Neovim. Its unique selling point is the feature-rich environment tailored specifically for Lean, including an infoview for persistent goal states, Unicode symbol insertion, and support for popular Neovim plugins like telescope.nvim and vim-matchup.
Neovim support for the Lean theorem prover
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Seamlessly integrates with Neovim's LSP client to provide real-time goal states, interactive widgets, and hover commands like :LeanGoal, enhancing the interactive theorem proving workflow.
Expands abbreviations into Unicode symbols in insert mode and command windows, streamlining mathematical notation input without leaving the editor.
Includes integrations with popular Neovim plugins like telescope.nvim for Loogle search and vim-matchup for enhanced navigation, extending functionality beyond core features.
Maps Lean server semantic tokens to Neovim's highlighting system for accurate syntax coloring, with configuration examples provided in the wiki for custom color schemes.
Requires manual LSP configuration and key mapping setup, with the README admitting that users without prior Neovim LSP experience may need to refer to external wiki guides for a working environment.
Only supports Neovim 0.11+ or specific tags for older versions, creating maintenance overhead and potential breaking changes for users on stable but outdated releases.
Focused exclusively on the Lean theorem prover, making it irrelevant for general development or other languages, and its features depend on optional plugins like satellite.nvim for full progress tracking.