patch 9.1.0981: tests: typo in test_filetype.vim
Commit:
https://github.com/vim/vim/commit/2bee7e43e137bcef62e6872791e2be7ce9c32703
Author: Wu, Zhenyu <[email protected]>
Date: Mon Dec 30 15:36:37 2024 +0100
patch 9.1.0981: tests: typo in test_filetype.vim
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/lnkmap.vim b/runtime/syntax/lnkmap.vim
index a1d109ef0..dc097f412 100644
--- a/runtime/syntax/lnkmap.vim
+++ b/runtime/syntax/lnkmap.vim
@@ -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 <[email protected]>
-" 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
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 3138e7d9f..0373055a7 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -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)
diff --git a/src/version.c b/src/version.c
index 5f1649e0c..a8f0eea6c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 981,
/**/
980,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tSH0y-00Dw8K-Ak%40256bit.org.