changeset 1097:226a6d4a1f30 draft

feat: enable inlay hints
author Zeger Van de Vannet <zeger@vandevan.net>
date Mon, 19 May 2025 15:14:18 +0200
parents dfa9d2a82c92
children 1d163e43854a
files dot_config/helix/config.toml.tmpl dot_config/helix/themes/tutticolori.toml
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dot_config/helix/config.toml.tmpl	Sun May 18 20:05:51 2025 +0200
+++ b/dot_config/helix/config.toml.tmpl	Mon May 19 15:14:18 2025 +0200
@@ -10,6 +10,7 @@
 auto-save = true
 true-color = true
 clipboard-provider = "termcode"
+lsp.display-inlay-hints = true
 
 [editor.cursor-shape]
 insert = "bar"
--- a/dot_config/helix/themes/tutticolori.toml	Sun May 18 20:05:51 2025 +0200
+++ b/dot_config/helix/themes/tutticolori.toml	Mon May 19 15:14:18 2025 +0200
@@ -17,6 +17,9 @@
 "ui.help" = { fg = "black", bg = "ice-light" }
 "ui.virtual.whitespace" = { fg = "gray" }
 "ui.virtual.jump-label" = { bg = "green-light", fg = "black", modifiers=["bold"]}
+"ui.virtual.inlay-hint" = { fg = "gray", modifiers = ["italic"] }
+"ui.virtual.inlay-hint.parameter" = { fg = "cyan", modifiers = ["italic"] }
+"ui.virtual.inlay-hint.type" = { fg = "red", modifiers = ["italic"]}
 
 "diagnostic.error" = { underline = { color = "error-red", style = "curl" } }
 "diagnostic.warning" = { underline = { color = "orange", style = "curl"} }