Skip to main content

Crate perl_lsp_config

Crate perl_lsp_config 

Source
Expand description

Configuration models for perl-lsp server runtime state.

This microcrate isolates configuration parsing and defaults from the main server crate so they can evolve independently and be reused by tooling.

Structs§

AiCompletionConfig
Configuration for AI-powered inline completions.
AiStreamingConfig
Streaming sub-configuration for AI completions.
ProjectAiCompletionConfig
[ai_completion] section of .perl-lsp.toml.
ProjectConfig
Project configuration loaded from .perl-lsp.toml in the workspace root.
ProjectDiagnosticsConfig
[diagnostics] section of .perl-lsp.toml.
ProjectFeaturesConfig
[features] section of .perl-lsp.toml.
ProjectPerlConfig
[perl] section of .perl-lsp.toml.
ServerConfig
Server configuration
WorkspaceConfig
Workspace configuration for module resolution

Functions§

load_project_config
Load project config from <workspace_root>/.perl-lsp.toml.