forked from pool/neovim
Accepting request 660297 from editors
OBS-URL: https://build.opensuse.org/request/show/660297 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neovim?expand=0&rev=19
This commit is contained in:
commit
7ba0866018
@ -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>
|
Thu Dec 6 09:12:15 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
15
neovim.spec
15
neovim.spec
@ -82,6 +82,8 @@ parts of Vim, without compromise, and more.
|
|||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
|
%define vimplugin_dir %{_datadir}/vim/site
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%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
|
%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}/
|
%fdupes %{buildroot}%{_datadir}/
|
||||||
%find_lang nvim
|
%find_lang nvim
|
||||||
|
|
||||||
@ -145,6 +150,16 @@ install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/nvim/template.spec
|
|||||||
%{_mandir}/man1/nvim.1%{?ext_man}
|
%{_mandir}/man1/nvim.1%{?ext_man}
|
||||||
%dir %{_sysconfdir}/nvim
|
%dir %{_sysconfdir}/nvim
|
||||||
%config(noreplace) %{_sysconfdir}/nvim/sysinit.vim
|
%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
|
%files lang -f nvim.lang
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
" In order for neovim to use installed plugins shared with vim
|
||||||
|
set runtimepath+=/usr/share/vim/site
|
||||||
|
|
||||||
augroup Fedora
|
augroup Fedora
|
||||||
autocmd!
|
autocmd!
|
||||||
" RPM spec file template
|
" RPM spec file template
|
||||||
|
Loading…
Reference in New Issue
Block a user