Files
vim/vim-7.3-filetype_spec.patch
Ondřej Súkup 464cf0e172 - update to 9.1.0836
* 9.1.0836: The vimtutor can be improved
 * 9.1.0835: :setglobal doesn't work properly for 'ffu' and 'tsrfu'
 * 9.1.0834: tests: 2html test fails
 * 9.1.0833: CI: recent ASAN changes do not work for indent tests
 * 9.1.0832: :set doesn't work for 'cot' and 'bkc' after :setlocal
 * runtime(doc): update help-toc description
 * runtime(2html): Make links use color scheme colors in TOhtml
 * 9.1.0831: 'findexpr' can't be used as lambad or Funcref
 * Filelist: include helptoc package
 * runtime(doc): include a TOC Vim9 plugin
 * Filelist: ignore .git-blame-ignore-revs
 * 9.1.0830: using wrong highlight group for spaces for popupmenu
 * runtime(typst): synchronize updates from the upstream typst.vim
 * git: ignore reformatting commit for git-blame (after v9.1.0829)
 * 9.1.0829: Vim source code uses a mix of tabs and spaces
 * 9.1.0828: string_T struct could be used more often
 * 9.1.0827: CI: tests can be improved
 * runtime(doc): remove stray sentence in pi_netrw.txt
 * 9.1.0826: filetype: sway files are not recognized
 * runtime(doc): Include netrw-gp in TOC
 * runtime(doc): mention 'iskeyword' at :h charclass()
 * runtime(doc): update help tags
 * 9.1.0825: compile error for non-diff builds
 * runtime(netrw): fix E874 when browsing remote directory which contains `~` character
 * runtime(doc): update coding style documentation
 * runtime(debversions): Add plucky (25.04) as Ubuntu release name
 * 9.1.0824: too many strlen() calls in register.c
 * 9.1.0823: filetype: Zephyr overlay files not recognized
 * runtime(doc): Clean up minor formatting issues for builtin functions

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=867
2024-11-03 15:56:36 +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