Vim Gentoo Syntax 20051221 reviewDownload
Vim Gentoo Syntax includes syntax highlighting and filetype settings for Gentoo things like ebuilds, eclasses, GLEPs, init scripts, p
Vim Gentoo Syntax includes syntax highlighting and filetype settings for Gentoo things like ebuilds, eclasses, GLEPs, init scripts, package.* files, etc., for the Vim text editor.
Gentoo users: `emerge app-vim/gentoo-syntax`
Everyone else: `make PREFIX=~/.vim/ install`
Ebuilds are detected by an 'ebuild' extension. Eclasses are detected by an 'eclass' extension. Both ebuild and eclass files are assigned the 'ebuild' filetype.
GLEP files are detected by a 'txt' extension, followed by a check that the first line of the file starts with "GLEP: ". They are assigned the 'glep' filetype.
Gentoo ChangeLogs are detected by the 'ChangeLog' filename and a copyright header on the second line.
init.d scripts are detected by being in /etc/init.d/ . They are also detected if they are under a files/ directory and include a '#!/sbin/runscript' header.
conf.d, env.d and cron.d files are detected by being in the relevant subdirectory in /etc.
package.mask, package.unmask, package.keywords, package.use and thirdpartymirrors files are detected by filename.
make.conf files are detected by filename (make.globals is also recognised).
metadata.xml files are detected by filename.
use.desc files are detected by filename (use.local.desc is also recognised).
What's New in This Release:
INSTALL_MASK is now recognised in /etc/make.conf. USE flag names that start with a number (e.g. '3dfx') are now correctly detected.
Vim Gentoo Syntax 20051221 search tags