Skip to main content

Module config

Module config 

Source

Structs§

LoadedConfig
Result of loading config: the config (if any) and its source.
ProjectConfig
Parsed project configuration from krait.toml.
ServerOverride
Override default server binary/args for a language.
WorkspaceEntry
One workspace scope for LSP indexing.

Enums§

ConfigSource
Where the config was loaded from.

Functions§

config_exists
Check if a config file already exists.
config_to_package_roots
Convert a loaded config into (Language, PathBuf) pairs for the multiplexer.
generate
Generate a krait.toml config string from detected workspace roots.
load
Try to load .krait/krait.toml (or legacy krait.toml) from the project root.
parse_language
Parse a language name string into a Language enum.
write_config
Write config to .krait/krait.toml, creating .krait/ if needed.