d9ed24658f
* test_arglist * test_command_count * test_diffmode * test_mksession * test_startup * test_window_cmd OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=594
14 lines
738 B
Diff
14 lines
738 B
Diff
Index: vim-8.2.0348/runtime/filetype.vim
|
|
===================================================================
|
|
--- vim-8.2.0348.orig/runtime/filetype.vim
|
|
+++ vim-8.2.0348/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>") |
|