Skip to content

Commit

Permalink
chore(fmt): break very long line
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed May 19, 2024
1 parent cfb8acd commit 6cc31ee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions magit-file-icons.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Created: 14 May 2024

;; URL: https://github.com/gekoke/magit-file-icons
;; Package-Version: 0.2.3
;; Package-Version: 0.2.5
;; Package-Requires: ((emacs "24.3") (magit "3.3.0") (nerd-icons "0.1.0") (el-patch "3.1"))

;; This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -64,7 +64,16 @@

(el-patch-define-template
(defun magit-insert-untracked-files)
(insert (propertize (el-patch-swap file (format "%s %s" (if (file-directory-p file) (nerd-icons-icon-for-dir file) (nerd-icons-icon-for-file file)) file)) 'font-lock-face 'magit-filename) ?\n))
(insert
(propertize
(el-patch-swap file
(format "%s %s"
(if (file-directory-p file)
(nerd-icons-icon-for-dir file)
(nerd-icons-icon-for-file file))
file))
'font-lock-face 'magit-filename)
?\n))

(el-patch-define-template
(defun magit-diff-wash-diffstat)
Expand Down
2 changes: 1 addition & 1 deletion nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _: {

magit-file-icons = pkgs.emacsPackages.trivialBuild rec {
pname = "magit-file-icons";
version = "v0.2.3";
version = "v0.2.5";

src = ../.;

Expand Down

0 comments on commit 6cc31ee

Please sign in to comment.