From d289ebbc5a2d5f565c501658183f3cd5cb97fed4 Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Tue, 27 Sep 2022 21:16:05 -0400 Subject: [PATCH] Some more rust-analyzer settings --- nvim/.config/nvim/coc-settings.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json index 03f82e8..c3b22a9 100644 --- a/nvim/.config/nvim/coc-settings.json +++ b/nvim/.config/nvim/coc-settings.json @@ -1,5 +1,11 @@ { "suggest.autoTrigger": "none", "signature.target": "echo", + "rust-analyzer.diagnostics.disabled": ["unresolved-proc-macro"], "rust-analyzer.updates.checkOnStartup": false, + "rust-analyzer.inlayHints.chainingHints.enable": true, + "rust-analyzer.inlayHints.closingBraceHints.enable": true, + "rust-analyzer.inlayHints.closingBraceHints.minLines": 1, + "rust-analyzer.inlayHints.lifetimeElisionHints.enable": true, + "rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames": true, }