rust works somewhat

This commit is contained in:
cscherr 2025-06-04 12:33:51 +02:00
parent 726c9b8464
commit dfb2427d97
Signed by: cscherrNT
GPG key ID: 8E2B45BC51A27EA7

View file

@ -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" ]