zed/crates/zed/languages/rust/config.toml
Max Brunsfeld 7d5425e142 Move lsp configuration into language crate
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-10-26 12:17:51 -07:00

14 lines
518 B
TOML

name = "Rust"
path_suffixes = ["rs"]
brackets = [
{ start = "{", end = "}", close = true, newline = true },
{ start = "[", end = "]", close = true, newline = true },
{ start = "(", end = ")", close = true, newline = true },
{ start = "<", end = ">", close = false, newline = true },
{ start = "\"", end = "\"", close = true, newline = false },
{ start = "/*", end = " */", close = true, newline = false },
]
[language_server]
binary = "rust-analyzer"
disk_based_diagnostic_sources = ["rustc"]