973c31bae0
* A new, faster regular expression engine. * More than a thousand fixes and small improvements. - Drop vim-7.3-grub.patch, applied upstream - Refresh the following patches * vim-7.4-disable_lang_no.patch * vim-7.4-filetype_apparmor.patch * vim-7.4-filetype_mine.patch * vim-7.4-highlight_fstab.patch OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=149
14 lines
671 B
Diff
14 lines
671 B
Diff
Index: vim74/runtime/filetype.vim
|
|
===================================================================
|
|
--- vim74.orig/runtime/filetype.vim
|
|
+++ vim74/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
|
|
+au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.mine,?\+.new,?\+.dpkg-dist,?\+.dpkg-old,?\+.dpkg-new,?\+.dpkg-bak,?\+.rpmsave,?\+.rpmnew
|
|
\ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r"))
|
|
au BufNewFile,BufRead *~
|
|
\ let s:name = expand("<afile>") |
|