Install plugin for neovim also.

This commit is contained in:
Elliott Sales de Andrade
2017-09-04 02:58:29 -04:00
parent 1ef72ab57b
commit d201fc4225

View File

@@ -43,7 +43,7 @@
Name: fzf Name: fzf
Version: 0.16.11 Version: 0.16.11
Release: 6%{?dist} Release: 7%{?dist}
Summary: A command-line fuzzy finder written in Go Summary: A command-line fuzzy finder written in Go
License: MIT License: MIT
URL: https://%{provider_prefix} URL: https://%{provider_prefix}
@@ -146,6 +146,8 @@ install -d %{buildroot}%{_datadir}/fzf
# Install vim plugin # Install vim plugin
install -d %{buildroot}%{_datadir}/vim/vimfiles/plugin install -d %{buildroot}%{_datadir}/vim/vimfiles/plugin
install -Dpm0644 plugin/fzf.vim %{buildroot}%{_datadir}/vim/vimfiles/plugin/ install -Dpm0644 plugin/fzf.vim %{buildroot}%{_datadir}/vim/vimfiles/plugin/
install -d %{buildroot}%{_datadir}/nvim/site/plugin
install -Dpm0644 plugin/fzf.vim %{buildroot}%{_datadir}/nvim/site/plugin/
# Install shell completion # Install shell completion
install -d %{buildroot}%{_sysconfdir}/bash_completion.d install -d %{buildroot}%{_sysconfdir}/bash_completion.d
@@ -232,6 +234,8 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%{_datadir}/zsh/site-functions/fzf %{_datadir}/zsh/site-functions/fzf
%dir %{_datadir}/vim/vimfiles/plugin %dir %{_datadir}/vim/vimfiles/plugin
%{_datadir}/vim/vimfiles/plugin/fzf.vim %{_datadir}/vim/vimfiles/plugin/fzf.vim
%dir %{_datadir}/nvim/site/plugin
%{_datadir}/nvim/site/plugin/fzf.vim
%{_sysconfdir}/bash_completion.d/fzf %{_sysconfdir}/bash_completion.d/fzf
%if 0%{?with_devel} %if 0%{?with_devel}
@@ -248,6 +252,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif %endif
%changelog %changelog
* Mon Sep 4 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.16.11-7
- Install plugin for neovim also.
* Thu Aug 24 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.16.11-6 * Thu Aug 24 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.16.11-6
- Turn off source and unit testing packages. - Turn off source and unit testing packages.