commit e518666f1db110abcfc899e1227da949998cdd82
parent 2b4c1127ad1c8cff38f562d71f411c35ec6ba8d6
Author: Christian Clason <c.clason@uni-graz.at>
Date: Fri, 27 Jun 2025 09:35:48 +0200
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 <wdsjxhno1001@163.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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 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.