diff --git a/homes/jacek/tui/helix.nix b/homes/jacek/tui/helix.nix index 489d3952..c344deed 100644 --- a/homes/jacek/tui/helix.nix +++ b/homes/jacek/tui/helix.nix @@ -1,5 +1,6 @@ { config, + lib, inputs, pkgs, ... @@ -8,7 +9,44 @@ enable = true; package = inputs.helix.packages.${pkgs.system}.helix; settings = { - + theme = "catppuccin_mocha"; + editor = { + scrolloff = 7; + mouse = false; + middle-click-paste = false; + line-number = "relative"; + auto-completion = false; + auto-format = false; + completion-replace = true; + true-color = true; + undercurl = true; + rulers = [ 80 ]; + bufferline = "multiple"; + color-modes = true; + lsp = { + display-messages = true; + display-inlay-hints = true; + }; + cursor-shape = { + normal = "block"; + insert = "bar"; + select = "underline"; + }; + auto-pairs = false; + whitespace.render.newline = "all"; + indent-guides.render = true; + }; + }; + languages = { + language-server = { + nil.command = lib.getExe pkgs.nil; + }; + language = [ + { + name = "rust"; + auto-format = false; + } + ]; }; }; }