diff options
Diffstat (limited to 'app-editors/nano/files/gentoo.nanorc-r1')
-rw-r--r-- | app-editors/nano/files/gentoo.nanorc-r1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app-editors/nano/files/gentoo.nanorc-r1 b/app-editors/nano/files/gentoo.nanorc-r1 index 26767774a0e3..100877dd16d4 100644 --- a/app-editors/nano/files/gentoo.nanorc-r1 +++ b/app-editors/nano/files/gentoo.nanorc-r1 @@ -20,7 +20,7 @@ color green "-(eq|ne|gt|lt|ge|le|ef|ot|nt)\>" ## Variables... official portage ones in red, all others in bright red: color brightred "\$[-0-9@*#?$!]" "\$[[:alpha:]_][[:alnum:]_]*" color brightred "\$\{[#!]?([-@*#?$!]|[0-9]+|[[:alpha:]_][[:alnum:]_]*)(\[([[:digit:]]|@)+\])?(([#%/]|:?[-=?+])[^}]*\}|\[|\})" -color red "\<(EAPI|ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|[BIPR]?DEPEND|PROVIDE|PROPERTIES|REQUIRED_USE|RESTRICT|USERLAND)\>" +color red "\<(EAPI|ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|[BIPR]?DEPEND|PROVIDE|PROPERTIES|REQUIRED_USE|RESTRICT)\>" color red "\<(S|E?D|T|PV|PF|P|PN|PR|PVR|A|CATEGORY|DISTDIR|FILESDIR|EPREFIX|(B|E|E?SYS)?ROOT|WORKDIR)\>" color red "\<(T|TMPDIR|HOME)\>" color red "\<(AS|C(PP|XX)?|FF|GO|LD|RUST)FLAGS\>" "\<C(HOST|TARGET|BUILD)\>" "\<(MERGE_TYPE|REPLACING_VERSIONS|REPLACED_BY_VERSION)\>" @@ -47,7 +47,7 @@ color brightblue "\<edo(b)?\>" color brightblue "\<(all-flag-vars)\>" color brightblue "\<(filter-(flags|lfs-flags|lto|mfpmath))\>" color brightblue "\<strip-flags\>" -color brightblue "\<append-(cpp|c|cxx|f|lfs|ld)flags\>" +color brightblue "\<append-(cpp|c|cxx|f|lfs|ld)?flags\>" color brightblue "\<replace-flags\>" "\<replace-cpu-flags\>" color brightblue "\<is-(ld?)flagq?\>" color brightblue "\<(append-atomic-flags|no-as-needed|raw-ldflags|append-libs|replace-sparc64-flags|get-flag|strip-unsupported-flags)\>" @@ -84,7 +84,7 @@ color magenta ":[^[:space:]]+([[:space:]]|$)" color brightred "[[:space:]]+\+?[A-Za-z0-9+_@-]+" color brightblue "[[:space:]]+-[A-Za-z0-9+_@-]+" ## Accepted arches: -color white "[~-]?\<(alpha|amd64|arm(64)?|hppa|ia64|loong|m68k|mips|ppc(64)?|riscv|s390|sparc|x86)(-(cygwin|linux|macos|solaris|winnt))?\>" +color white "[~-]?\<(alpha|amd64|arm(64)?|hppa|ia64|loong|m68k|mips|ppc(64)?|riscv|s390|sparc|x86)(-(linux|macos|solaris))?\>" color white "[[:space:]][*~-]?\*" ## Categories: color cyan "^[[:space:]]*[^/]*/" |