From 3ba9b95d09d255dd24439faaad1518d7ca4e641c Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Tue, 16 Apr 2024 21:35:32 +0200 Subject: [PATCH] move helix to normal unstable again --- modules/shell/helix.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/modules/shell/helix.nix b/modules/shell/helix.nix index e018746..5055a35 100644 --- a/modules/shell/helix.nix +++ b/modules/shell/helix.nix @@ -1,8 +1,4 @@ -{ - config, - pkgs-unstable-small, - ... -}: { +{config, ...}: { home-manager.users.jade = {pkgs, ...}: { home = { sessionVariables.EDITOR = "hx"; @@ -16,7 +12,7 @@ }; programs.helix = { enable = true; - package = pkgs-unstable-small.helix; + package = pkgs.helix; settings = { theme = "gruvbox"; editor = { @@ -24,11 +20,12 @@ bufferline = "multiple"; color-modes = true; cursorline = true; + auto-save = true; + auto-format = true; lsp = { display-messages = true; display-inlay-hints = true; }; - completion-replace = true; popup-border = "popup"; shell = ["nu" "-c"]; statusline.left = [ @@ -93,7 +90,7 @@ }; "rust-analyzer" = { config = { - check.command = "clippy"; + check.command = "check"; completion.snippets.custom = { "pub fn" = { prefix = ["pfn" "pubfn"];