- Generate tags for vim documentation
OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=29
This commit is contained in:
parent
17784c9367
commit
d179512291
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 18 22:22:06 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Generate tags for vim documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 13 19:52:48 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
11
fzf.spec
11
fzf.spec
@ -86,6 +86,8 @@ zsh shell completions for fzf
|
||||
Summary: Vim plugin for fzf
|
||||
Group: Productivity/File utilities
|
||||
BuildArch: noarch
|
||||
Requires(post): (vim or neovim)
|
||||
Requires(postun): (vim or neovim)
|
||||
|
||||
%description -n vim-fzf
|
||||
Plugin for vim allowing use of fzf.
|
||||
@ -143,6 +145,15 @@ go test -v -x -mod=vendor ${BUILDMOD} -a \
|
||||
github.com/junegunn/fzf/src/tui \
|
||||
github.com/junegunn/fzf/src/util
|
||||
|
||||
%post -n vim-fzf
|
||||
vim -c "helptags %{vimplugin_dir}/doc |x" \
|
||||
|| nvim -c "helptags %{vimplugin_dir}/doc |x"
|
||||
|
||||
%postun -n vim-fzf
|
||||
vim -c "helptags %{vimplugin_dir}/doc |x" \
|
||||
|| nvim -c "helptags %{vimplugin_dir}/doc |x" \
|
||||
|| :
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_bindir}/fzf
|
||||
|
Loading…
Reference in New Issue
Block a user