runtime(diff): fix regex for matching no-eol match

Commit: 
https://github.com/vim/vim/commit/5d14da3690a8c02ba7a26477c45c5d32756ddf22
Author: A4-Tacks <wdsjxhno1...@163.com>
Date:   Thu Jun 26 20:29:18 2025 +0200

    runtime(diff): fix regex for matching no-eol match
    
    closes: https://github.com/vim/vim/issues/17610
    
    Signed-off-by: A4-Tacks <wdsjxhno1...@163.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/syntax/diff.vim b/runtime/syntax/diff.vim
index b0a8594de..50efe32c5 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 <b...@vim.org>
 
 " 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.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uUrau-004vW3-Gz%40256bit.org.

Raspunde prin e-mail lui