vim/vim-7.4-filetype_mine.patch
Ismail Dönmez 2bc4674faa - Updated to revision 1816, fixes the following problems
* 'guicolors' is a confusing option name.
  * Quickfix doesn't handle long lines well, they are split.
  * GTK3 doesn't handle menu separaters properly.
  * Can't use Vim as MANPAGER.
  * Running tests in shadow dir fails.
  * 'termguicolors' option missing from the options window.
  * Test_out_close_cb sometimes fails.
  * Using wrong feature name to check for 'termguicolors'.
  * Using wrong short option name for 'termguicolors'.
  * Sending DETACH after a channel was closed isn't useful.
  * Netbeans channel gets garbage collected.
  * Memory access error when running test_quickfix.
  * A channel may be garbage collected while it's still being used by a job.
  * Looping over a null list throws an error.
- Refresh vim-7.4-filetype_mine.patch

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=356
2016-05-02 07:31:36 +00:00

14 lines
738 B
Diff

Index: vim-7.4.1816/runtime/filetype.vim
===================================================================
--- vim-7.4.1816.orig/runtime/filetype.vim
+++ vim-7.4.1816/runtime/filetype.vim
@@ -17,7 +17,7 @@ augroup filetypedetect
" Ignored extensions
if exists("*fnameescape")
-au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.dpkg-dist,?\+.dpkg-old,?\+.dpkg-new,?\+.dpkg-bak,?\+.rpmsave,?\+.rpmnew,?\+.pacsave,?\+.pacnew
+au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.mine,?\+.new,?\+.dpkg-dist,?\+.dpkg-old,?\+.dpkg-new,?\+.dpkg-bak,?\+.rpmsave,?\+.rpmnew,?\+.pacsave,?\+.pacnew
\ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r"))
au BufNewFile,BufRead *~
\ let s:name = expand("<afile>") |