From af839ef76ffe4867eda4e23181257788fc080384 Mon Sep 17 00:00:00 2001 From: twoneis Date: Thu, 16 May 2024 04:18:50 +0200 Subject: [PATCH] more helix config --- modules/home/utils/helix-config.nix | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/modules/home/utils/helix-config.nix b/modules/home/utils/helix-config.nix index d80e7ae..cdeab13 100644 --- a/modules/home/utils/helix-config.nix +++ b/modules/home/utils/helix-config.nix @@ -4,19 +4,34 @@ editor = { line-number = "relative"; cursorline = true; - auto-format = true; soft-wrap.enable = true; - - lsp.display-inlay-hints = true; - + color-modes = true; whitespace.render = "all"; + indent-guides = { + render = true; + skip-levels = 1; + }; + + auto-format = true; + + lsp = { + display-inlay-hints = true; + }; + + gutters = [ "diagnostics" "line-numbers" "diff" ]; + + statusline = { + left = [ "mode" "spinner" "version-control" ]; + center = [ "file-modification-indicator" "read-only-indicator" "file-name" ]; + right = [ "diagnostics" "position" ]; + }; + cursor-shape = { insert = "bar"; normal = "block"; select = "underline"; }; - }; keys.normal = {