summaryrefslogtreecommitdiff
path: root/vim-9.1-specsyntax.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-10-31 07:56:47 +0000
committerCoprDistGit <infra@openeuler.org>2024-10-31 07:56:47 +0000
commit5d563acc54729e6681596381d58536ba4fcae9fd (patch)
treebdd4ddd81836e2782603d752c1bf0a523b3de0f5 /vim-9.1-specsyntax.patch
parentefd71a0539eaa01702372e97c4ed7bde679b6490 (diff)
automatic import of vimopeneuler24.03_LTS
Diffstat (limited to 'vim-9.1-specsyntax.patch')
-rw-r--r--vim-9.1-specsyntax.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/vim-9.1-specsyntax.patch b/vim-9.1-specsyntax.patch
new file mode 100644
index 0000000..67de12e
--- /dev/null
+++ b/vim-9.1-specsyntax.patch
@@ -0,0 +1,24 @@
+diff -up vim74/runtime/syntax/spec.vim.highlite vim74/runtime/syntax/spec.vim
+--- vim74/runtime/syntax/spec.vim.highlite 2016-07-04 10:17:45.000000000 +0200
++++ vim74/runtime/syntax/spec.vim 2016-08-04 15:20:26.116049343 +0200
+@@ -35,7 +35,7 @@
+ syn match specManpageFile '[a-zA-Z]\.1'
+
+ "Day, Month and most used license acronyms
+-syn keyword specLicense contained GPL LGPL BSD MIT GNU
++syn keyword specLicense contained GPL LGPL BSD MIT GNU distributable
+ syn keyword specWeekday contained Mon Tue Wed Thu Fri Sat Sun
+ syn keyword specMonth contained Jan Feb Mar Apr Jun Jul Aug Sep Oct Nov Dec
+ syn keyword specMonth contained January February March April May June July August September October November December
+@@ -58,9 +58,9 @@
+
+ "specCommands
+ syn match specConfigure contained '\./configure'
+-syn match specTarCommand contained '\<tar\s\+[cxvpzIf]\{,5}\s*'
++syn match specTarCommand contained '\<tar\s\+[cxvpzIjf]\{,5}\s*'
+ syn keyword specCommandSpecial contained root
+-syn keyword specCommand contained make xmkmf mkdir chmod ln find sed rm strip moc echo grep ls rm mv mkdir install cp pwd cat tail then else elif cd gzip rmdir ln eval export touch
++syn keyword specCommand contained make xmkmf mkdir chmod ln find sed rm strip moc echo grep ls rm mv mkdir install cp pwd cat tail then else elif cd gzip rmdir ln eval export touch bzip2 bunzip2 gunzip
+ syn cluster specCommands contains=specCommand,specTarCommand,specConfigure,specCommandSpecial
+
+ "frequently used rpm env vars