#lsp-language-server #lsp #development-tools #language-server

lsp-servers

Provides a list of relevant language servers for a given directory

4 releases

Uses new Rust 2024

new 0.1.3 Apr 13, 2025
0.1.2 Apr 13, 2025
0.1.1 Apr 11, 2025
0.1.0 Apr 11, 2025

#399 in Text editors

Download history 304/week @ 2025-04-09

304 downloads per month
Used in lsp-servers-cli

MIT/Apache

8KB
116 lines

LSP Servers

This is a simple utility library with only one function.

Given a directory, it returns a list of relevant language servers. Relevant meaning that they support file types that were found in the directory.

With the corresponding setting enabled only installed language servers will be returned.

The purpose of this is just to check which servers need to be spun up when creating an LSP client that operates on a specific directory.

I'm creating this for personal use in this project that generates mermaid diagrams of codebases. If anyone else finds this useful and wants to improve it I would welcome PRs.

Dependencies

~0.1–6.5MB
~33K SLoC