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