summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/syntax/diff.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-06-27 09:35:48 +0200
committerChristian Clason <ch.clason+github@icloud.com>2025-06-27 09:56:07 +0200
commite518666f1db110abcfc899e1227da949998cdd82 (patch)
tree5c6a75e8dcbe0084732983633ea02cd904e23473 /runtime/syntax/diff.vim
parent2b4c1127ad1c8cff38f562d71f411c35ec6ba8d6 (diff)
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 (limited to 'runtime/syntax/diff.vim')
-rw-r--r--runtime/syntax/diff.vim4
1 files 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 <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.