rust works somewhat
This commit is contained in:
parent
726c9b8464
commit
dfb2427d97
1 changed files with 30 additions and 0 deletions
|
@ -1 +1,31 @@
|
||||||
|
[[language]]
|
||||||
|
name = "rust"
|
||||||
|
auto-format = true
|
||||||
|
|
||||||
|
roots = [
|
||||||
|
"Cargo.toml",
|
||||||
|
"Cargo.lock"
|
||||||
|
]
|
||||||
|
|
||||||
|
[language.auto-pairs]
|
||||||
|
'(' = ')'
|
||||||
|
'{' = '}'
|
||||||
|
'[' = ']'
|
||||||
|
'"' = '"'
|
||||||
|
'`' = '`'
|
||||||
|
|
||||||
|
[language-server.rust-analyzer.config]
|
||||||
|
# inlayHints.bindingModeHints.enable = false
|
||||||
|
# inlayHints.closingBraceHints.minLines = 10
|
||||||
|
# inlayHints.closureReturnTypeHints.enable = "with_block"
|
||||||
|
# inlayHints.discriminantHints.enable = "fieldless"
|
||||||
|
# inlayHints.lifetimeElisionHints.enable = "skip_trivial"
|
||||||
|
# inlayHints.typeHints.hideClosureInitialization = false
|
||||||
|
check.command = "clippy"
|
||||||
|
|
||||||
|
[language-server.rust-analyzer.config.cargo]
|
||||||
|
features = "all"
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "python"
|
||||||
|
language-servers = [ "pyright" ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue