helix/module.nix: setting changes

This commit is contained in:
Charlie Root 2024-09-03 15:20:49 +02:00
commit 4d66f4f332

View file

@ -7,7 +7,7 @@
}: let
cfg = config.modules.system.programs.editors.helix;
inherit (config.modules.other.system) username;
inherit (lib) mkIf getExe makeBinPath;
inherit (lib) mkIf makeBinPath;
in {
imports = [./languages.nix];
config = mkIf cfg.enable {
@ -41,12 +41,14 @@ in {
lsp.display-inlay-hints = true;
line-number = "relative";
true-color = true;
auto-format = true;
completion-timeout = 5;
mouse = true;
bufferline = "multiple";
soft-wrap.enable = true;
lsp.display-messages = true;
cursor-shape = {insert = "bar";};
statusline.left = ["mode" "spinner" "version-control" "file-name"];
statusline.left = ["spinner" "version-control" "file-name"];
inline-diagnostics = {
cursor-line = "hint";
other-lines = "error";