summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-05-30 18:50:58 +0200
committerHampusM <hampus@hampusmat.com>2024-05-30 18:50:58 +0200
commitf8fed2b7e64c95df81a400400e44460e6c951aa3 (patch)
treef39ddc5795eef2ec366a525cd9f34a8aaa88cd16
parentd996007ffc8d08610b5d7008b7bfdf3a2132e5e2 (diff)
enable rust-analyzer inlay hints
-rw-r--r--coc-settings.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/coc-settings.json b/coc-settings.json
index cfddb83..9132036 100644
--- a/coc-settings.json
+++ b/coc-settings.json
@@ -50,6 +50,10 @@
"rust-analyzer.inlayHints.renderColons": false,
"rust-analyzer.inlayHints.chainingHints.enable": false,
"rust-analyzer.inlayHints.parameterHints.enable": true,
+ "rust-analyzer.inlayHints.typeHints.enable": false,
+ "rust-analyzer.inlayHints.lifetimeElisionHints.enable": "always",
+ "rust-analyzer.inlayHints.expressionAdjustmentHints.enable": "always",
+ "rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames": true,
"rust-analyzer.updates.channel": "stable",
"rust-analyzer.numThreads": 64,
"rust-analyzer.cachePriming.enable": true,