From 27656a219376b779a2205679760c612e23800b0d Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 12 Jan 2025 16:39:24 +0300 Subject: [PATCH] Enable Helix inline diagnostics --- modules/common/helix.nix | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/modules/common/helix.nix b/modules/common/helix.nix index d31b9b6..0dc34c5 100644 --- a/modules/common/helix.nix +++ b/modules/common/helix.nix @@ -115,17 +115,18 @@ in { settings.theme = "gruvbox_dark_hard"; settings.editor = { - color-modes = true; - completion-replace = true; - completion-trigger-len = 0; - cursor-shape.insert = "bar"; - cursorline = true; - bufferline = "multiple"; - file-picker.hidden = false; - idle-timeout = 0; - line-number = "relative"; - shell = [ "bash" "-c" ]; - text-width = 100; + bufferline = "multiple"; + color-modes = true; + completion-replace = true; + completion-trigger-len = 0; + cursor-shape.insert = "bar"; + cursorline = true; + end-of-line-diagnostics = "hint"; + file-picker.hidden = false; + idle-timeout = 0; + line-number = "relative"; + shell = [ "bash" "-c" ]; + text-width = 100; }; settings.editor.indent-guides = { @@ -133,6 +134,11 @@ in { render = true; }; + settings.editor.inline-diagnostics = { + cursor-line = "hint"; + other-lines = "hint"; + }; + settings.editor.statusline.mode = { insert = "INSERT"; normal = "NORMAL";