hook global WinSetOption filetype=rust %{
    set-option buffer lsp_servers %{
        # [rust-analyzer]
        # root_globs = ["Cargo.toml"]
        # single_instance = true
        # command = "rust-analyzer"
        # [rls]
        # root_globs = ["Cargo.toml"]
        # command = "rls"
        [ra-multiplex]
        root_globs = ["Cargo.toml"]
        command = "ra-multiplex"
    }
    lsp-enable-buffer
    #lsp-semantic-tokens-enable
}
