Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 254227

Summary: app-vim/gentoo-syntax should also highlight files in /etc/portage/package.*/
Product: Gentoo Linux Reporter: Tobias Leupold <tl>
Component: Current packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: darkside, gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tobias Leupold 2009-01-08 14:17:38 UTC
As of app-vim/gentoo-syntax-20070506, the files /etc/portage/package.* are highlighted correctly. But those can also be directories containing multiple files. In this case, these files aren't highlighted at all.

In the Gentoo forums ( http://forums.gentoo.org/viewtopic-t-725168.html ), I was said that

echo "au BufNewFile,BufRead /*/package.use/* set filetype=gentoo-package-use" >> ~/.vim/ftdetect/gentoo-enhance.vim

would do the trick (in this case for package.use/*).

I think this should be fixed :-)

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-24 21:01:44 UTC
The 20081006 package already fixes this, some other bugs in it preventing stabilization, so I hope to release a new version soon.

Marking as a dupe of the stablereq

*** This bug has been marked as a duplicate of bug 248220 ***