vim/vim-7.3-filetype_spec.patch
Ondřej Súkup ab99f07abc - update to 9.1.0908
- refresh vim-7.3-mktemp_tutor.patch 
 * 9.1.0908: not possible to configure :messages
 * 9.1.0907: printoptions:portrait does not change postscript Orientation
 * runtime(doc): Add vietnamese.txt to helps main TOC
 * 9.1.0906: filetype: Nvidia PTX files are not recognized
 * runtime(doc): updated version9.txt with changes from v9.1.0905
 * 9.1.0905: Missing information in CompleteDone event
 * 9.1.0904: Vim9: copy-paste error in class_defining_member()
 * 9.1.0903: potential overflow in spell_soundfold_wsal()
 * runtime(netrw): do not detach when launching external programs in gvim
 * runtime(doc): make tag alignment more consistent in filetype.txt
 * runtime(doc): fix wrong syntax and style of vietnamese.txt
 * translation(it): update Italian manpage for vimtutor
 * runtime(lua): add optional lua function folding
 * Filelist: include translations for Chapter 2 tutor
 * translation(vi): Update Vietnamese translation
 * runtime(doc): include vietnamese.txt
 * runtime(tutor): fix another typo in tutor2
 * runtime(doc): fix typo in vimtutor manpage
 * translation(it): update Italian manpage for vimtutor
 * translation(it): include Italian version of tutor chapter 2
 * runtime(tutor): regenerated some translated tutor1 files
 * runtime(tutor): fix typo in Chapter 2
 * 9.1.0902: filetype: Conda configuration files are not recognized
 * runtime(doc): Tweak documentation style a bit
 * runtime(tutor): update the tutor files and re-number the chapters
 * runtime(tutor): Update the makefiles for tutor1 and tutor2 files
 * 9.1.0901: MS-Windows: vimtutor batch script can be improved
 * runtime(doc): remove buffer-local completeopt todo item

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=869
2024-12-07 12:58:20 +00:00

27 lines
2.4 KiB
Diff

Index: vim-9.1.0151/runtime/filetype.vim
===================================================================
--- vim-9.1.0151.orig/runtime/filetype.vim
+++ vim-9.1.0151/runtime/filetype.vim
@@ -2122,7 +2122,7 @@ au BufRead,BufNewFile *.sol setf solid
au BufNewFile,BufRead *.rq,*.sparql setf sparql
" 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
Index: vim-9.1.0151/runtime/syntax/spec.vim
===================================================================
--- vim-9.1.0151.orig/runtime/syntax/spec.vim
+++ vim-9.1.0151/runtime/syntax/spec.vim
@@ -102,7 +102,7 @@ syn case ignore
"%% 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
-syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|SourceLicense\|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\|SourceLicense\|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\|Freshens\|EssentialFor\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
"%% Description Section %%
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment