Skip to content

Commit

Permalink
Disable format-all-errors popup
Browse files Browse the repository at this point in the history
  • Loading branch information
mcwitt committed Oct 2, 2024
1 parent 70c48ad commit 96a71f1
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{ lib, ... }:
{
programs.emacs.init.usePackage = {

Expand All @@ -9,10 +8,10 @@
"(prog-mode . format-all-mode)"
"(format-all-mode . format-all-ensure-formatter)"
];
extraConfig = ''
:custom
(format-all-show-errors 'never)
'';
};

frames-only-mode.config = lib.mkBefore ''
(add-to-list 'frames-only-mode-use-window-functions 'format-all--buffer-from-hook)
'';
};
}

0 comments on commit 96a71f1

Please sign in to comment.