From 154e9bf1b0af0f8217ac2828708f60b56aeeaf91 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Sun, 14 Jul 2024 23:47:42 +0200 Subject: [PATCH] pre-commit: don't fix end-of-file for lazy-lock.json This file is updated automatically by the plugin whenever I install/update/uninstall plugins and a extra new line is always appended. --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62c861f..5ae55a2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,6 +11,7 @@ repos: - id: check-shebang-scripts-are-executable - id: check-symlinks - id: end-of-file-fixer + exclude: ^config\/nvim\/lazy-lock\.json$ - id: fix-byte-order-marker - id: trailing-whitespace