From 6cc31ee3a2e898bc3412551b1acb0644385fdcd8 Mon Sep 17 00:00:00 2001 From: Gregor Grigorjan Date: Mon, 20 May 2024 01:52:34 +0300 Subject: [PATCH] chore(fmt): break very long line --- magit-file-icons.el | 13 +++++++++++-- nix/packages.nix | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/magit-file-icons.el b/magit-file-icons.el index 9c4d037c..5f05c5b2 100644 --- a/magit-file-icons.el +++ b/magit-file-icons.el @@ -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 @@ -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) diff --git a/nix/packages.nix b/nix/packages.nix index 39f7c64f..c741006d 100644 --- a/nix/packages.nix +++ b/nix/packages.nix @@ -7,7 +7,7 @@ _: { magit-file-icons = pkgs.emacsPackages.trivialBuild rec { pname = "magit-file-icons"; - version = "v0.2.3"; + version = "v0.2.5"; src = ../.;