]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0981: tests: typo in test_filetype.vim v9.1.0981
authorWu, Zhenyu <wuzhenyu@ustc.edu>
Mon, 30 Dec 2024 14:36:37 +0000 (15:36 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 30 Dec 2024 14:36:37 +0000 (15:36 +0100)
Problem:  tests: typo in test_filetype.vim
Solution: fix comment, update lnkmap syntax file and add
          DESCT keyword
          (Wu, Zhenyu)

closes: #16348

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/lnkmap.vim
src/testdir/test_filetype.vim
src/version.c

index a1d109ef0d25729193426ba2d34aa0ef77ea3a9a..dc097f412ff89af9a86afcdc434b209d6f0f6270 100644 (file)
@@ -2,7 +2,7 @@
 " Language:    TI Linker map
 " Document:    https://downloads.ti.com/docs/esd/SPRUI03A/Content/SPRUI03A_HTML/linker_description.html
 " Maintainer:  Wu, Zhenyu <wuzhenyu@ustc.edu>
-" Last Change: 2024 Dec 25
+" Last Change: 2024 Dec 30
 
 if exists("b:current_syntax")
   finish
@@ -19,7 +19,7 @@ syn match lnkmapFile                  '[^ =]\+\%(\.\S\+\)\+\>'
 syn match lnkmapLibFile                        '[^ =]\+\.lib\>'
 syn match lnkmapAttrib                 '\<[RWIX]\+\>'
 syn match lnkmapAttrib                 '\s\zs--HOLE--\ze\%\(\s\|$\)'
-syn keyword lnkmapAttrib               UNINITIALIZED
+syn keyword lnkmapAttrib               UNINITIALIZED DESCT
 
 
 hi def link lnkmapTime                 Comment
index 3138e7d9fc765509b08f144e3b3bf33dacfa6565..0373055a77ec05c7f38b80ed140dbc2884c77171 100644 (file)
@@ -2782,7 +2782,7 @@ func Test_map_file()
   call assert_equal('lnkmap', &filetype)
   bwipe!
 
-  " TI linker map file
+  " UMN mapserver config file
   call writefile(['MAP', 'NAME "local-demo"', 'END'], 'Xfile.map', 'D')
   split Xfile.map
   call assert_equal('map', &filetype)
index 5f1649e0c5816fd5e029699a9bc31da0dd1a3486..a8f0eea6c3204942904afcf69fdad8575c60f97e 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    981,
 /**/
     980,
 /**/