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>
This commit is contained in:
A4-Tacks
2025-06-26 20:29:18 +02:00
committed by Christian Brabandt
parent 2249cc0a47
commit 5d14da3690

View File

@ -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 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.