runtime(diff): fix regex for matching no-eol match
closes: #17610
Signed-off-by: A4-Tacks <wdsjxhno1001@163.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/runtime/syntax/diff.vim b/runtime/syntax/diff.vim
index b0a8594..50efe32 100644
--- a/runtime/syntax/diff.vim
+++ b/runtime/syntax/diff.vim
@@ -2,7 +2,7 @@
" Language: Diff (context or unified)
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Translations by Jakson Alves de Aquino.
-" Last Change: 2023 Aug 10
+" Last Change: 2025 Jun 26
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Quit when a (custom) syntax file was already loaded
@@ -16,7 +16,7 @@
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.