From e518666f1db110abcfc899e1227da949998cdd82 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 27 Jun 2025 09:35:48 +0200 Subject: [PATCH] vim-patch:5d14da3: runtime(diff): fix regex for matching no-eol match closes: vim/vim#17610 https://github.com/vim/vim/commit/5d14da3690a8c02ba7a26477c45c5d32756ddf22 Co-authored-by: A4-Tacks --- runtime/syntax/diff.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/syntax/diff.vim b/runtime/syntax/diff.vim index b0a8594def..50efe32c5c 100644 --- a/runtime/syntax/diff.vim +++ b/runtime/syntax/diff.vim @@ -2,7 +2,7 @@ " Language: Diff (context or unified) " Maintainer: The Vim Project " Translations by Jakson Alves de Aquino. -" Last Change: 2023 Aug 10 +" Last Change: 2025 Jun 26 " Former Maintainer: Bram Moolenaar " Quit when a (custom) syntax file was already loaded @@ -16,7 +16,7 @@ syn match diffIdentical "^Files .* and .* are identical$" syn match diffDiffer "^Files .* and .* differ$" syn match diffBDiffer "^Binary files .* and .* differ$" syn match diffIsA "^File .* is a .* while file .* is a .*" -syn match diffNoEOL "^\\ No newline at end of file .*" +syn match diffNoEOL "^\\ No newline at end of file.*" syn match diffCommon "^Common subdirectories: .*" " Disable the translations by setting diff_translations to zero.