Skip to main content

config_value_to_toml

Function config_value_to_toml 

Source
pub fn config_value_to_toml(value: &ConfigValue) -> Value
Expand description

A ConfigValue as TOML. The inverse of toml_to_config_value, used by ConfigValue’s format() — which is what :set foo? echoes and what :describe-option shows.

Total: every ConfigValue kind has a TOML counterpart, which is not true in the other direction (floats and datetimes have no ConfigValue).