Accepting request 960651 from editors

- add vim-plugin-gitrebase-keywordprg

OBS-URL: https://build.opensuse.org/request/show/960651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim-plugins?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2022-03-10 21:45:11 +00:00 committed by Git OBS Bridge
commit 456a7fd141
3 changed files with 33 additions and 0 deletions

8
gitrebase.vim Normal file
View File

@ -0,0 +1,8 @@
" Vim filetype plugin
" Language: git rebase --interactive
" Maintainer: Jiri Slaby <jslaby@suse.cz>
" Last Change: 2022 Mar 09
"
" See https://github.com/vim/vim/issues/9845
setlocal keywordprg=git\ show

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 9 08:38:55 UTC 2022 - Jiri Slaby <jslaby@suse.cz>
- add vim-plugin-gitrebase-keywordprg
-------------------------------------------------------------------
Mon Feb 7 11:01:13 UTC 2022 - Jiri Slaby <jslaby@suse.cz>

View File

@ -104,6 +104,7 @@ Source101: vim-markdown-%{markdown_version}.tar.xz
Source102: neomutt.vim-%{neomutt_version}.tar.xz
Source103: salt-vim-%{salt_version}.tar.xz
Source104: vim-latex-%{latex_version}.tar.xz
Source200: gitrebase.vim
Source1000: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets
Patch1: locateopen-1.3-locate-support.patch
Patch2: showmarks-signs.patch
@ -286,6 +287,19 @@ This script provides two functions to display git diffs in vim.
:GITChanges [commitish]
Highlight lines that were changed since the HEAD or some other changeset.
%package -n vim-plugin-gitrebase-keywordprg
Version: 1
Release: 0
Summary: Set keywordprg in git rebase --interactive
License: GPL-2.0-only
Group: Productivity/Text/Editors
Requires: git-core
%description -n vim-plugin-gitrebase-keywordprg
Set keywordprg in git rebase --interactive. This was used to done before vim
8.2.4529, but was changed afterwards. For details, see
https://github.com/vim/vim/issues/9845.
%package -n vim-plugin-gnupg
Version: %gnupg_version
Release: 0
@ -695,6 +709,9 @@ for i in vimplugin-* a.vim-* ack.vim-* Align-* calendar.vim--Matsumoto-* \
popd
done
install -d %buildroot/%vimplugin_dir/after/ftplugin/
install -m 644 %{SOURCE200} %buildroot/%vimplugin_dir/after/ftplugin/
install -d %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/
mv %{buildroot}/%vimplugin_dir/nerdtree_plugin %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/
@ -837,6 +854,9 @@ fi \
%defattr(-,root,root,0755)
%vimplugin_dir/plugin/gitdiff.vim
%files -n vim-plugin-gitrebase-keywordprg
%vimplugin_dir/after/ftplugin/gitrebase.vim
%files -n vim-plugin-gnupg
%defattr(-,root,root,0755)
%vimplugin_dir/autoload/gnupg.vim