Created attachment 297699 [details, diff] Patch for gentoo.nanorc Various updates to syntax highlighting: * EAPI 2 default phase functions * EAPI 3 prefix variables (ED, EROOT, EPREFIX) * EAPI 4 stuff (pkg_pretend, docompress, nonfatal, REQUIRED_USE, MERGE_TYPE, REPLACING_VERSIONS, REPLACED_BY_VERSION) * more tests for [ ] conditionals * removed eqmake3 support * added use_if_iuse and in_iuse highlighting, similar to use, use_enable, etc.. * recognize epatch_user, elibtoolize, estack_(push|pop) & friends, version_is_at_least as "portage commands" * recognize rmdir, pushd, popd as "common commands used in ebuilds" * recognize DOCS, HTML_DOCS, PATCHES, WANT_LIBTOOL as special variables Do you think the helpers banned in recent EAPIs (dosed, dohard, ebeep, epause) should be removed too?
the idea with the bash syntax was to highlight the common stuff that should actually get used ... kind of discourages the rest. so i don't want to change the single letter list to include all possible test flags. the rest looks good. i'll run it locally and see how it works out in practice.
ping?
should be all set now in the tree; thanks for the report! Commit message: Update nanorc files http://sources.gentoo.org/app-editors/nano/nano-2.3.1-r2.ebuild?rev=1.1