macro_rules! dict {
() => { ... };
( $( $key:tt : $value:expr ),+ $(,)? ) => { ... };
}Expand description
Construct a nvim_oxi::Dictionary from key-value pairs, supporting nested dict! usage.
Keys can be:
- string literals,
- identifiers (converted with
stringify!), or - expressions yielding
Stringor&str.
Values: any type that implements Into<nvim_oxi::Object>