helix/module.nix: setting changes
This commit is contained in:
parent
d2be95447f
commit
4d66f4f332
1 changed files with 4 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue