vim/vim-7.3-filetype_spec.patch

27 lines
2.5 KiB
Diff
Raw Normal View History

Index: vim-8.2.0348/runtime/filetype.vim
- Use mercurial tags instead of applying patches one by one. This reduces unexpected failures. - Updated to revision 417, fixes the following problems * Can't build with Perl on Fedora 20. * Fold does not open after search when there is a CmdwinLeave autocommand. * "foo bar" sorts before "foo" with sort(). (John Little) * Cannot define a command only when it's used. * Cannot build. Warning for shadowed variable. (John Little) * Problem with breakindent/showbreak and tabs. * After splitting a window and setting 'breakindent' the default minimum with is not respected. * Screen updating is slow when using matches. * Inserting text for Visual block mode, with cursor movement, repeats the wrong text. (Aleksandar Ivanov) * Visual block insert breaks a multi-byte character. * Compiler warning for unused argument and unused variable. * Character after "fb" command not mapped if it might be a composing character. * Test 63 fails when run with GUI-only Vim. * Popup menu flickers too much. * When 'equalalways' is set a split may report "no room" even though there is plenty of room. * Title of quickfist list is not kept for setqflist(list, 'r'). * Accessing freed memory after using setqflist(list, 'r'). (Lcd) * Loading python may cause Vim to exit. * Get u_undo error when backspacing in Insert mode deletes more than one line break. (Ayberk Ozgur) * Mapping characters may not work after typing Esc in Insert mode. * Bad interaction between preview window and omnifunc. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=224
2014-08-25 13:50:01 +02:00
===================================================================
--- vim-8.2.0348.orig/runtime/filetype.vim
+++ vim-8.2.0348/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.0348/runtime/syntax/spec.vim
- Use mercurial tags instead of applying patches one by one. This reduces unexpected failures. - Updated to revision 417, fixes the following problems * Can't build with Perl on Fedora 20. * Fold does not open after search when there is a CmdwinLeave autocommand. * "foo bar" sorts before "foo" with sort(). (John Little) * Cannot define a command only when it's used. * Cannot build. Warning for shadowed variable. (John Little) * Problem with breakindent/showbreak and tabs. * After splitting a window and setting 'breakindent' the default minimum with is not respected. * Screen updating is slow when using matches. * Inserting text for Visual block mode, with cursor movement, repeats the wrong text. (Aleksandar Ivanov) * Visual block insert breaks a multi-byte character. * Compiler warning for unused argument and unused variable. * Character after "fb" command not mapped if it might be a composing character. * Test 63 fails when run with GUI-only Vim. * Popup menu flickers too much. * When 'equalalways' is set a split may report "no room" even though there is plenty of room. * Title of quickfist list is not kept for setqflist(list, 'r'). * Accessing freed memory after using setqflist(list, 'r'). (Lcd) * Loading python may cause Vim to exit. * Get u_undo error when backspacing in Insert mode deletes more than one line break. (Ayberk Ozgur) * Mapping characters may not work after typing Esc in Insert mode. * Bad interaction between preview window and omnifunc. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=224
2014-08-25 13:50:01 +02:00
===================================================================
--- vim-8.2.0348.orig/runtime/syntax/spec.vim
+++ vim-8.2.0348/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
- Updated to revision 1938, fixes the following problems * Updating marks in a quickfix list is very slow when the list is long. * When waiting for a character is interrupted by receiving channel data and the first character of a mapping was typed, the mapping times out. * When receiving channel data 'updatetime' is not respected. * Wrong computation of remaining wait time in RealWaitForChar() * When umask is set to 0177 Vim can't create temp files. * GUI: When channel data is received the cursor blinking is interrupted. * Channel reading very long lines is slow. * balloon eval only gets the window number, not the ID. * Cannot easily get the window ID for a buffer. * Cannot get the window ID for a mouse click. * Cannot use a window ID where a window number is expected. * Invoking mark_adjust() when adding a new line below the last line is pointless. * Various typos, long lines and style mistakes. * User commands don't support modifiers. * GTK 3: cursor blinking doesn't work well. * Using CTRL-] in the help on "{address}." doesn't work. * Win32: the "Disabled" menu items would appear enabled. * No test for collapsing buffers for a channel. Some text is lost. * When writing viminfo merging current history with history in viminfo may drop recent history entries. * Some compilers can't handle a double semicolon. * Collapsing channel buffers and searching for NL does not work properly. * Warnings from 64 bit compiler. * Netbeans uses uninitialzed pointer and freed memory. * Doubled semicolons. * Tests using external command to delete directory. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=372
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
"%% Description Section %%
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment