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"];