1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Use rust-analyzer prox with auto-pairs for <

This commit is contained in:
Mo 2023-05-10 00:25:34 +02:00
parent 3c2ddc2c74
commit ff54db5d66

View file

@ -1,10 +1,17 @@
[[language]]
name = "rust"
language-server = { command = "rustup", args = ["run", "stable", "rust-analyzer"] }
language-server = { command = "rust-analyzer", args = ["-q"] }
auto-format = true
roots = ["Cargo.toml"]
[language.config.checkOnSave]
command = "clippy"
[language.auto-pairs]
'(' = ')'
'{' = '}'
'[' = ']'
'"' = '"'
'`' = '`'
'<' = '>'
[[language]]
name = "python"