I like to append white spaces in the beginning of package atoms in package.keywords like this: - - media-video/nvidia-settings ~amd64 ~media-video/ffmpeg-0.5_p21602 ~amd64 ~media-libs/x264-0.0.20100118 ~amd64 media-gfx/shotwell ~amd64 - - This improves readability and portage seems to behave just fine with it. Patch below makes vim colorize atoms prefixed by invisible characters, which otherwise are not colored. --- /tmp/gentoo-package-keywords.vim 2010-07-21 19:33:51.797639028 +0200 +++ /usr/share/vim/vimfiles/syntax/gentoo-package-keywords.vim 2010-07-21 19:36:05.257618423 +0200 @@ -24,7 +24,7 @@ syn match GentooPackageKeywordsEmail contained /<[a-zA-Z0-9\-\_]\+@[a-zA-Z0-9\-\_\.]\+>/ syn match GentooPackageKeywordsDate contained /(\(\d\d\?\s\w\+\|\w\+\s\d\d\?\)\s\d\{4\})/ -syn match GentooPackageKeywordsAtom /^[^ \t\n#]\+\S\+\/\S\+/ +syn match GentooPackageKeywordsAtom /^[\ \t]*[^ \t\n#]\+\S\+\/\S\+/ \ nextgroup=GentooPackageKeywordsKeyword skipwhite syn match GentooPackageKeywordsKeyword contained /-\?[-~]\?\([a-z0-9\-]\+\|\*\)/ \ nextgroup=GentooPackageKeywordsKeyword skipwhite
Thanks for the patch(es)/fix(es). +*gentoo-syntax-20101212 (12 Dec 2010) + + 12 Dec 2010; Jeremy Olexa <darkside@gentoo.org> + +gentoo-syntax-20101212.ebuild: + Version bump to fix bugs: 322247, 319809, 322871, 329311, 346477, 281481, + and other fixes