Ondřej Súkup
0c8fb2164a
- refreshed vim-7.3-filetype_spec.patch * ml_get_buf_len() does not consider text properties * Several minor 'winfixbuf' issues * Update Serbian messages * Recognize "__inline" * Update base-syntax, fix escaping :syn and :hi sub-groups * Update syntax file, fix issue #962 * null pointer member access when accessing 'winfixbuf' property * update syntax script * Update base-syntax, fix issue #14135 * Highlight the error message at *E1513* * Update base-syntax, improve :augroup highlighting * Use unnamed register when clipboard not working * Vim9: can't call internal methods with objects * Cannot keep a buffer focused in a window * Updated Russian installer translation * Recognise text blocks * Update ftplugin, browsefilter labels * Improve the recognition of literals * v:echospace wrong with invalid value of 'showcmdloc' * some improvements to getregion() docs * update "Last Change header", remove trailing whitespace * handle file/dir symlinks specifically in tree mode * v:echospace not correct when 'showcmdloc' != last * getregion() needs more tests * disable multiline_scalar detection by default * [security]: autocmd causes use-after-free in set_curbuf() * getregion() can be improved * include runtime/syntax/testdir/ftplugin OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=843
27 lines
2.4 KiB
Diff
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
|