]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(diff): fix regex for matching no-eol match
authorA4-Tacks <wdsjxhno1001@163.com>
Thu, 26 Jun 2025 18:29:18 +0000 (20:29 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 26 Jun 2025 18:29:18 +0000 (20:29 +0200)
closes: #17610

Signed-off-by: A4-Tacks <wdsjxhno1001@163.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/diff.vim

index b0a8594def3fc8f074458d3a0f08d2f2da361e8d..50efe32c5c2b1cc5a554f4a8976a9ad9b6a9917f 100644 (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.