# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.19 2007/01/12 05:18:24 pioto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.20 2007/03/21 03:40:22 pioto Exp $
#
# This eclass simplifies installation of app-vim plugins into
# /usr/share/vim/vimfiles. This is a version-independent directory
local h
if [[ -n "${VIM_PLUGIN_HELPFILES}" ]] ; then
- einfo " "
- einfo "This plugin provides documentation via vim's help system. To"
- einfo "view it, use:"
+ elog " "
+ elog "This plugin provides documentation via vim's help system. To"
+ elog "view it, use:"
for h in ${VIM_PLUGIN_HELPFILES} ; do
- einfo " :help ${h}"
+ elog " :help ${h}"
done
- einfo " "
+ elog " "
elif [[ -n "${VIM_PLUGIN_HELPTEXT}" ]] ; then
- einfo " "
+ elog " "
while read h ; do
- einfo "$h"
+ elog "$h"
done <<<"${VIM_PLUGIN_HELPTEXT}"
- einfo " "
+ elog " "
elif [[ -n "${VIM_PLUGIN_HELPURI}" ]] ; then
- einfo " "
- einfo "Documentation for this plugin is available online at:"
- einfo " ${VIM_PLUGIN_HELPURI}"
- einfo " "
+ elog " "
+ elog "Documentation for this plugin is available online at:"
+ elog " ${VIM_PLUGIN_HELPURI}"
+ elog " "
fi
if hasq "filetype" "${VIM_PLUGIN_MESSAGES}" ; then
- einfo "This plugin makes use of filetype settings. To enable these,"
- einfo "add lines like:"
- einfo " filetype plugin on"
- einfo " filetype indent on"
- einfo "to your ~/.vimrc file."
- einfo " "
+ elog "This plugin makes use of filetype settings. To enable these,"
+ elog "add lines like:"
+ elog " filetype plugin on"
+ elog " filetype indent on"
+ elog "to your ~/.vimrc file."
+ elog " "
fi
}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim-spell.eclass,v 1.5 2006/01/23 21:35:21 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim-spell.eclass,v 1.6 2007/03/21 03:40:22 pioto Exp $
#
# Original Author: Ciaran McCreesh <ciaranm@gentoo.org>
vim-spell_pkg_postinst() {
target="/usr/share/vim/vimfiles/spell/"
echo
- einfo "To enable ${VIM_SPELL_LANGUAGE} spell checking, use"
- einfo " :setlocal spell spelllang=${VIM_SPELL_CODE}"
+ elog "To enable ${VIM_SPELL_LANGUAGE} spell checking, use"
+ elog " :setlocal spell spelllang=${VIM_SPELL_CODE}"
echo
- einfo "The following (Vim internal, not file) encodings are supported for"
- einfo "this language:"
+ elog "The following (Vim internal, not file) encodings are supported for"
+ elog "this language:"
for f in "${ROOT}/${target}/${VIM_SPELL_CODE}".*.spl ; do
enc="${f##*/${VIM_SPELL_CODE}.}"
enc="${enc%.spl}"
[[ -z "${enc}" ]] && continue
- einfo " ${enc}"
+ elog " ${enc}"
done
echo
- einfo "For further documentation, use:"
- einfo " :help spell"
+ elog "For further documentation, use:"
+ elog " :help spell"
echo
epause
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.161 2007/03/13 01:07:08 pioto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.162 2007/03/21 03:40:22 pioto Exp $
# Authors:
# Ryan Phillips <rphillips@gentoo.org>
if [[ $(get_major_version ) -lt 7 ]] ; then
if [[ "${MY_PN}" == "gvim" ]] ; then
echo
- einfo "To enable UTF-8 viewing, set guifont and guifontwide: "
- einfo ":set guifont=-misc-fixed-medium-r-normal-*-18-120-100-100-c-90-iso10646-1"
- einfo ":set guifontwide=-misc-fixed-medium-r-normal-*-18-120-100-100-c-180-iso10646-1"
- einfo
- einfo "note: to find out which fonts you can use, please read the UTF-8 help:"
- einfo ":h utf-8"
- einfo
- einfo "Then, set read encoding to UTF-8:"
- einfo ":set encoding=utf-8"
+ elog "To enable UTF-8 viewing, set guifont and guifontwide: "
+ elog ":set guifont=-misc-fixed-medium-r-normal-*-18-120-100-100-c-90-iso10646-1"
+ elog ":set guifontwide=-misc-fixed-medium-r-normal-*-18-120-100-100-c-180-iso10646-1"
+ elog
+ elog "note: to find out which fonts you can use, please read the UTF-8 help:"
+ elog ":h utf-8"
+ elog
+ elog "Then, set read encoding to UTF-8:"
+ elog ":set encoding=utf-8"
elif [[ "${MY_PN}" == "vim" ]] ; then
echo
- einfo "gvim has now a seperate ebuild, 'emerge gvim' will install gvim"
+ elog "gvim has now a seperate ebuild, 'emerge gvim' will install gvim"
fi
else
if [[ "${MY_PN}" == "vim" ]] ; then
echo
- einfo "To install a GUI version of vim, use the app-editors/gvim"
- einfo "package."
+ elog "To install a GUI version of vim, use the app-editors/gvim"
+ elog "package."
fi
echo
- einfo "Vim 7 includes an integrated spell checker. You need to install"
- einfo "word list files before you can use it. There are ebuilds for"
- einfo "some of these named app-vim/vim-spell-*. If your language of"
- einfo "choice is not included, please consult vim-spell.eclass for"
- einfo "instructions on how to make a package."
+ elog "Vim 7 includes an integrated spell checker. You need to install"
+ elog "word list files before you can use it. There are ebuilds for"
+ elog "some of these named app-vim/vim-spell-*. If your language of"
+ elog "choice is not included, please consult vim-spell.eclass for"
+ elog "instructions on how to make a package."
ewarn
ewarn "Note that the English word lists are no longer installed by"
ewarn "default."
if [[ "${MY_PN}" != "vim-core" ]] ; then
echo
- einfo "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
+ elog "To see what's new in this release, use :help version${VIM_VERSION/.*/}.txt"
fi
# Warn about VIMRUNTIME