From 33cb58e46418f46b4530bac68be3af45ca2b3279 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 1 Jul 2017 19:25:38 +0100 Subject: [PATCH] More up2date version included in nano Signed-off-by: Justin Lecher --- gentoo.nanorc | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 gentoo.nanorc diff --git a/gentoo.nanorc b/gentoo.nanorc deleted file mode 100644 index 24b5485..0000000 --- a/gentoo.nanorc +++ /dev/null @@ -1,50 +0,0 @@ -## Here is an example for ebuilds/eclasses -## -syntax "Ebuild" "\.e(build|class)$" -## All the standard portage functions -color brightgreen "^src_(unpack|compile|install|test)" "^pkg_(config|nofetch|setup|(pre|post)(inst|rm))" -## Highlight bash related syntax -color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while|continue|break)\>" -color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" -color green "-(e|d|f|r|g|u|w|x|L)\>" -color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>" -## Highlight variables ... official portage ones in red, all others in bright red -color brightred "\$\{?[a-zA-Z_0-9]+\}?" -color red "\<(ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|FILESDIR|WORKDIR|(P|R)?DEPEND|PROVIDE|DISTDIR|RESTRICT|USERLAND)\>" -color red "\<(S|D|T|PV|PF|P|PN|A)\>" "\" "\" "\" -## Highlight portage commands -color magenta "\ [!a-zA-Z0-9_+ -]*" "inherit.*" -color brightblue "\" -color brightblue "\" "\" "\" "\" "\<(has|best)_version\>" "\" -color brightblue "\<(do|new)(ins|s?bin|doc|lib(\.so|\.a)|man|info|exe|initd|confd|envd|pam|menu|icon)\>" -color brightblue "\" "\" -color brightblue "prepall(docs|info|man|strip)" "prep(info|lib|lib\.(so|a)|man|strip)" -color brightblue "\<(doc|ins|exe)into\>" "\" "\<(exe|ins|dir)opts\>" -## Highlight common commands used in ebuilds -color blue "\" "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|let|ln|mkdir|mv|rm|sed|set|tar|touch|unset)\>" -## Highlight comments (doesnt work that well) -color yellow "#.*$" -## Highlight strings (doesnt work that well) -color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'" -## Trailing space is bad! -color ,green "[[:space:]]+$" - -## Here is an example for Portage control files -## -syntax "etc-portage" "\.(keywords|mask|unmask|use)$" -## Base text: -color green "^.+$" -## Use flags: -color brightred "[[:space:]]+\+?[a-zA-Z0-9_-]+" -color brightblue "[[:space:]]+-[a-zA-Z0-9_-]+" -## Likely version numbers: -color magenta "-[[:digit:]].*([[:space:]]|$)" -## Accepted arches: -color white "[~-]?\<(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc|x86|x86-fbsd)\>" -color white "[[:space:]][~-]?\*" -## Categories: -color cyan "^[[:space:]]*.*/" -## Masking regulators: -color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)" -## Comments: -color yellow "#.*$"