Portage allows expanding /etc/portage/package.keywords and friends into separate files, under /etc/portage/package.keywords/. I have made a patch for /usr/share/nano/gentoo.nanorc to highlight gentoo syntax when editing those files. Reproducible: Always Steps to Reproduce: 1. nano -w /etc/portage/pacakge.keywords/part1 Actual Results: This line is not highlighted: app-editors/nano ~amd64 Expected Results: "app-editors/" should be cyan, "nano" should be green Perhaps there's an even better / more correct way to write that regex?
Created attachment 172870 [details, diff] adds gentoo syntax highlighting for /etc/portage/packages.*/*
Reassigning...
this has been merged upstream iirc and should be fixed in latest versions