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:
parent
3c2ddc2c74
commit
ff54db5d66
1 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue