Astrolsp

screenshot of Astrolsp

LSP Configuration Engine built for AstroNvim

Overview

AstroLSP is designed to simplify the process of configuring and setting up language servers within Neovim, offering a unified API that enhances the developer experience. While it is the engine behind the popular AstroNvim, it stands strong independently, providing users with the flexibility to tailor their coding environments seamlessly. With a focus on ease of integration and powerful features, AstroLSP is an excellent tool for Neovim users looking to optimize their workflow.

By introducing capabilities like key mappings, formatting on save, and quick toggles for features such as inlay hints and semantic tokens, AstroLSP elevates how developers interact with language servers. Its modern approach ensures that Neovim users can work efficiently while taking full advantage of language server capabilities.

Features

  • Unified Interface: Streamlines the configuration of language servers, allowing for a consistent setup experience.
  • Key Mappings: Easily attach key mappings when connecting to language servers for enhanced productivity.
  • Format on Save: Automatically formats your code upon saving, ensuring consistency and adherence to coding standards.
  • Toggle Features: Quickly enable or disable features like inlay hints, codelens, and semantic tokens based on your needs.
  • LSP File Operations: Provides an API for triggering various LSP file operations for better file management integration.
  • Integration Friendly: Works seamlessly with popular plugins like nvim-lspconfig and mason-lspconfig, enhancing its functionality.
  • Custom Configuration: Fully customizable through the opts table, enabling users to tailor their setup according to personal preferences.
  • Lua API: Offers a set of utility functions for advanced users to streamline their workflows and enhance their coding experience.