Accepting request 63062 from home:im_unbob:branches:editors

Accepted, thank you!

OBS-URL: https://build.opensuse.org/request/show/63062
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=32
This commit is contained in:
Ismail Dönmez 2011-03-02 10:27:58 +00:00 committed by Git OBS Bridge
parent adcd832976
commit 6bdbee2075
3 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff -rupN vim73.orig/runtime/filetype.vim vim73/runtime/filetype.vim
--- vim73.orig/runtime/filetype.vim 2011-02-28 21:16:54.188858309 +0100
+++ vim73/runtime/filetype.vim 2011-02-28 21:18:28.628849670 +0100
@@ -17,7 +17,7 @@ augroup filetypedetect
" Ignored extensions
if exists("*fnameescape")
-au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.dpkg-dist,?\+.dpkg-old,?\+.rpmsave,?\+.rpmnew
+au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.mine,?\+.dpkg-dist,?\+.dpkg-old,?\+.rpmsave,?\+.rpmnew
\ exe "doau filetypedetect BufRead " . fnameescape(expand("<afile>:r"))
au BufNewFile,BufRead *~
\ let s:name = expand("<afile>") |

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 28 21:33:24 CET 2011 - stian@viskjer.net
- add vim-7.3-filetype_mine.patch to enable syntax highlighting in
.mine files. E.g. %{name}.spec.mine files generated by "osc pull"
-------------------------------------------------------------------
Mon Jan 31 22:51:16 UTC 2011 - opensuse@cboltz.de

View File

@ -1,5 +1,5 @@
#
# spec file for package vim (Version 7.3)
# spec file for package vim
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -20,7 +20,7 @@
Name: vim
Version: 7.3
Release: 1
Release: 2
#
License: Other uncritical OpenSource License ; Charityware. http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
Group: Productivity/Editors/Vi
@ -95,6 +95,7 @@ Patch15: %{name}-7.3-filetype_apparmor.patch
Patch18: %{name}-7.3-filetype_spec.patch
Patch19: %{name}-7.3-diff_check.patch
Patch21: %{name}-7.3-filetype_changes.patch
Patch22: %{name}-7.3-filetype_mine.patch
# TODO: why is this not applied anymore?
Patch25: vim-7.2-lzma-support.patch
Patch27: %{name}-7.3-disable_gcc_warning_eval_c.patch
@ -312,6 +313,7 @@ cp %{S:23} runtime/syntax/apparmor.vim
%patch18 -p1
%patch19 -p1
%patch21 -p1
%patch22 -p1
#%patch25
%patch27 -p1
%patch100 -p1