Module server

Module server 

Source
Expand description

LSP server definitions and spawning

This module defines available language servers and how to spawn them. Each server has a unique ID, supported file extensions, root detection logic, and a spawn function.

Structs§

LspRegistry
Registry of available LSP servers
LspServerHandle
Handle to a spawned LSP server process
LspServerInfo
Information about an LSP server

Functions§

find_project_root
Find a project root by searching upward for marker files
find_project_root_with_stop
Find a project root, stopping at a specific directory

Type Aliases§

RootDetector
Root detection function type
SpawnFn
Spawn function type