Skip to main content

resolve_lsp_profile_name

Function resolve_lsp_profile_name 

Source
fn resolve_lsp_profile_name(project_root: &Path) -> Option<String>
Expand description

Resolve the active profile for LSP operations.

The language server has no CLI flags; it reads the project root’s .mzprofile. Returns None if no profile is set — variable resolution, suffix lookup, and cluster normalization all degrade gracefully (no variables, no suffix), and SQL with :variables will surface undefined-variable diagnostics as usual.