Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229035 - app-vim/gentoo-syntax-20070506 in /etc/portage/packages.*/* files doesn't work
Summary: app-vim/gentoo-syntax-20070506 in /etc/portage/packages.*/* files doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-06-23 12:31 UTC by lucapost
Modified: 2008-08-04 09:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed fix (fix_syntax_ftdetect.patch,811 bytes, patch)
2008-07-25 20:24 UTC, Tarmo Tänav
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lucapost 2008-06-23 12:31:27 UTC
The vim gentoo-syntax highlight doesn't works in files like /etc/portage/packages.[use,keywords,mask,unmask,...]/*.

It works well in /etc/portage/packages.* file.

Reproducible: Always
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2008-07-17 18:49:36 UTC
Fix is in svn, a new version will be out shortly.
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2008-07-17 19:29:34 UTC
Version 20080717 is in CVS which fixes this.
Thanks for reporting :-]
Comment 3 Tarmo Tänav 2008-07-25 20:24:29 UTC
I believe this fix broke syntax highlight for "vim /etc/portage/package.use", it only works without the full path.
Comment 4 Tarmo Tänav 2008-07-25 20:24:52 UTC
Created attachment 161364 [details, diff]
Proposed fix
Comment 5 nietonfir 2008-08-04 09:26:21 UTC
I just changed from the package.* files to the directories and patched gentoo-syntax-2007-05-06 for myself. I wanted to submit the patch when I found this one, so I decided to upgrade and I don't encounter your breakage. The portage patched version works just fine. (20080717-r1)