Hello community, here is the log from the commit of package vim-plugins for openSUSE:Factory checked in at 2017-04-12 17:37:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vim-plugins (Old) and /work/SRC/openSUSE:Factory/.vim-plugins.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vim-plugins" Wed Apr 12 17:37:17 2017 rev:29 rq:486983 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/vim-plugins/vim-plugins.changes 2016-08-17 12:06:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.vim-plugins.new/vim-plugins.changes 2017-04-12 18:24:43.813720889 +0200 @@ -1,0 +2,7 @@ +Mon Apr 10 08:15:38 UTC 2017 - [email protected] + +- Fix showmarks script wrt bsc#905770: + * add patch from upstream https://github.com/vim-scripts/ShowMarks/pull/3: + + showmarks-signs.patch + +------------------------------------------------------------------- New: ---- showmarks-signs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vim-plugins.spec ++++++ --- /var/tmp/diff_new_pack.O44GGb/_old 2017-04-12 18:24:44.729591376 +0200 +++ /var/tmp/diff_new_pack.O44GGb/_new 2017-04-12 18:24:44.733590810 +0200 @@ -1,7 +1,7 @@ # # spec file for package vim-plugins # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -94,6 +94,7 @@ Source35: https://github.com/tpope/vim-fugitive/archive/v%{fugitive_version}.tar.gz#/vimplugin-fugitive-%{fugitive_version}.tar.gz Source100: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets Patch1: locateopen-1.3-locate-support.patch +Patch2: showmarks-signs.patch BuildRequires: vim BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -590,6 +591,9 @@ pushd vimplugin-locateopen-%locateopen_version %patch1 popd +pushd vimplugin-showmarks-%showmarks_version +%patch2 -p1 +popd %build ++++++ showmarks-signs.patch ++++++ >From e752d376f3566b9ca646914d148259097fdc713a Mon Sep 17 00:00:00 2001 From: Tobias Gehring <[email protected]> Date: Sat, 4 Oct 2014 17:37:23 +0200 Subject: [PATCH] vim doesn't allow signs at the first line any more --- plugin/showmarks.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/showmarks.vim b/plugin/showmarks.vim index affd240..80d9ab1 100644 --- a/plugin/showmarks.vim +++ b/plugin/showmarks.vim @@ -372,7 +372,7 @@ fun! s:ShowMarks() exe 'hi link '.s:ShowMarksDLink{nm}.nm.' '.b:ShowMarksLink{nm} endif let mark_at{ln} = nm - if !exists('b:placed_'.nm) || b:placed_{nm} != ln + if ln > 0 && (!exists('b:placed_'.nm) || b:placed_{nm} != ln) exe 'sign unplace '.id.' buffer='.winbufnr(0) exe 'sign place '.id.' name=ShowMark'.nm.' line='.ln.' buffer='.winbufnr(0) let b:placed_{nm} = ln
