Skip to content

Instantly share code, notes, and snippets.

@rochacbruno
Created September 5, 2023 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rochacbruno/a08231e36dd49d64d87b34efeadd7d21 to your computer and use it in GitHub Desktop.
Save rochacbruno/a08231e36dd49d64d87b34efeadd7d21 to your computer and use it in GitHub Desktop.
Rust helix inlay hints config
[[language]]
name = "rust"
auto-format = false
[language-server.rust-analyzer]
command = "rust-analyzer"
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment