Ondřej Súkup
eb9c617960
- refreshed vim-7.3-filetype_spec.patch * Cannot recognize a terminal in a popup window. * ModifyOtherKeys cannot be temporarily disabled. * Terminal in popup test sometimes fails. * Several lines of code are duplicated. * Some code not covered by tests. * Fileformat test fails on MS-Windows. * A few new Vim9 messages are not localized. * Fileformat test still fails on MS-Windows. * "eval" after "if 0" doesn't check for following command. * Terminal in popup test sometimes fails on Mac. * No check for a following command when calling a function fails. * Trycatch test fails. * Vim9: operator after list index does not work. (Yasuhiro Matsumoto) * Some code not covered by tests. * The "num64" feature is available everywhere and building without it causes problems. * ":helptags ALL" gives error for directories without write permission. (Matěj Cepl) * Hang with combination of feedkeys(), Ex mode and :global. (Yegappan Lakshmanan) * Some Ex code not covered by tests. * Vim9: not allowing space before ")" in function call is too restrictive. (Ben Jackson) * Vim9: not all instructions covered by tests. * Channel test is flaky on Mac. * Vim9: no test for deleted :def function. * Vim9: throw in :def function not caught higher up. * Two placed signs in the same line are not combined. E.g. in the terminal OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=587
27 lines
2.5 KiB
Diff
27 lines
2.5 KiB
Diff
Index: vim-8.2.0314/runtime/filetype.vim
|
|
===================================================================
|
|
--- vim-8.2.0314.orig/runtime/filetype.vim
|
|
+++ vim-8.2.0314/runtime/filetype.vim
|
|
@@ -1581,7 +1581,7 @@ au BufNewFile,BufRead *.hog,snort.conf,v
|
|
au BufNewFile,BufRead *.rules call dist#ft#FTRules()
|
|
|
|
" 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-8.2.0314/runtime/syntax/spec.vim
|
|
===================================================================
|
|
--- vim-8.2.0314.orig/runtime/syntax/spec.vim
|
|
+++ vim-8.2.0314/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\|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
|
|
|
|
"%% Description Section %%
|
|
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment
|