2020-03-31 16:30:46 +02:00
Index: vim-8.2.0348/runtime/filetype.vim
2014-08-25 13:50:01 +02:00
===================================================================
2020-03-31 16:30:46 +02:00
--- vim-8.2.0348.orig/runtime/filetype.vim
+++ vim-8.2.0348/runtime/filetype.vim
2020-02-25 13:52:48 +01:00
@@ -1581,7 +1581,7 @@ au BufNewFile,BufRead *.hog,snort.conf,v
2017-11-29 12:53:57 +01:00
au BufNewFile,BufRead *.rules call dist#ft#FTRules()
2010-11-22 13:28:22 +01:00
" Spec (Linux RPM)
-au BufNewFile,BufRead *.spec setf spec
+au BufNewFile,BufRead *.spec,*.spec.in setf spec
" Speedup (AspenTech plant simulator)
au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup
2020-03-31 16:30:46 +02:00
Index: vim-8.2.0348/runtime/syntax/spec.vim
2014-08-25 13:50:01 +02:00
===================================================================
2020-03-31 16:30:46 +02:00
--- vim-8.2.0348.orig/runtime/syntax/spec.vim
+++ vim-8.2.0348/runtime/syntax/spec.vim
2016-09-12 15:27:23 +02:00
@@ -102,7 +102,7 @@ syn case ignore
2009-05-15 23:36:38 +02:00
"%% PreAmble Section %%
"Copyright and Serial were deprecated by License and Epoch
syn region specPreAmbleDeprecated oneline matchgroup=specError start='^\(Copyright\|Serial\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
2016-06-15 13:31:13 +02:00
-syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|Source\d*\|Patch\d*\|Prefix\|Packager\|Group\|License\|Release\|BuildRoot\|Distribution\|Vendor\|Provides\|ExclusiveArch\|ExcludeArch\|ExclusiveOS\|Obsoletes\|BuildArch\|BuildArchitectures\|BuildRequires\|BuildConflicts\|BuildPreReq\|Conflicts\|AutoRequires\|AutoReq\|AutoReqProv\|AutoProv\|Epoch\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
+syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|Source\d*\|Patch\d*\|Prefix\|Packager\|Group\|License\|Release\|BuildRoot\|Distribution\|Vendor\|Provides\|ExclusiveArch\|ExcludeArch\|ExclusiveOS\|Obsoletes\|BuildArch\|BuildArchitectures\|BuildRequires\|BuildConflicts\|BuildPreReq\|Conflicts\|AutoRequires\|AutoReq\|AutoReqProv\|AutoProv\|Epoch\|Recommends\|Suggests\|Freshens\|EssentialFor\|Supplements\|Enhances\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
2009-05-15 23:36:38 +02:00
"%% Description Section %%
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment