SHA256
1
0
forked from pool/neovim
Dominique Leuenberger 2018-12-21 07:22:34 +00:00 committed by Git OBS Bridge
commit 7ba0866018
3 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Dec 20 00:11:35 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Add to the system-wide configuration file extension of runtimepath by
/usr/share/vim/site, so that neovim uses other Vim plugins installed
from packages.
- Add /usr/share/vim/site tree of directories to be owned by neovim as
well.
-------------------------------------------------------------------
Thu Dec 6 09:12:15 UTC 2018 - Martin Pluskal <mpluskal@suse.com>

View File

@ -82,6 +82,8 @@ parts of Vim, without compromise, and more.
%lang_package
%define vimplugin_dir %{_datadir}/vim/site
%prep
%setup -q
%patch0 -p1
@ -120,6 +122,9 @@ install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/nvim/template.spec
%suse_update_desktop_file -r nvim ConsoleOnly Application Utility TextEditor
# vim/site directories for plugins shared with vim
mkdir -p %{buildroot}%{vimplugin_dir}/{after,after/syntax,autoload,colors,doc,ftdetect,plugin,syntax}
%fdupes %{buildroot}%{_datadir}/
%find_lang nvim
@ -145,6 +150,16 @@ install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/nvim/template.spec
%{_mandir}/man1/nvim.1%{?ext_man}
%dir %{_sysconfdir}/nvim
%config(noreplace) %{_sysconfdir}/nvim/sysinit.vim
%dir %{_datadir}/vim
%dir %{vimplugin_dir}/
%dir %{vimplugin_dir}/after
%dir %{vimplugin_dir}/after/syntax
%dir %{vimplugin_dir}/autoload
%dir %{vimplugin_dir}/colors
%dir %{vimplugin_dir}/doc
%dir %{vimplugin_dir}/ftdetect
%dir %{vimplugin_dir}/plugin
%dir %{vimplugin_dir}/syntax
%files lang -f nvim.lang

View File

@ -1,3 +1,6 @@
" In order for neovim to use installed plugins shared with vim
set runtimepath+=/usr/share/vim/site
augroup Fedora
autocmd!
" RPM spec file template