[arch-commits] CVS update of arch/build/base/nano (nanorc)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Aug 21 16:13:57 UTC 2007


    Date: Tuesday, August 21, 2007 @ 12:13:57
  Author: andyrtr
    Path: /home/cvs-arch/arch/build/base/nano

   Added: nanorc (1.1)

x86_64: fix lib location/added missing files for lm_sensors and nano


--------+
 nanorc |  103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 103 insertions(+)


Index: arch/build/base/nano/nanorc
diff -u /dev/null arch/build/base/nano/nanorc:1.1
--- /dev/null	Tue Aug 21 12:13:57 2007
+++ arch/build/base/nano/nanorc	Tue Aug 21 12:13:57 2007
@@ -0,0 +1,103 @@
+set autoindent
+set const
+set historylog
+set nowrap
+set smooth
+set speller "aspell -c"
+set regexp
+set fill 72
+# set multibuffer
+# set nohelp
+set suspend
+
+syntax "pkgbuild" "^.*PKGBUILD$"
+color green start="^" end="$"
+color cyan "^.*(pkgname|pkgver|pkgrel|pkgdesc|force|url|license|install|source|md5sums|groups|backup|depends|makedepends|conflicts|provides|replaces).*=.*$"
+color brightcyan "\<(pkgname|pkgver|pkgrel|pkgdesc|force|url|license|install|source|md5sums|groups|backup|depends|makedepends|conflicts|provides|replaces)\>"
+color cyan "\.install"
+color brightwhite "=" "'" "\(" "\)" "\"" "#.*$" "\," "\{" "\}"
+color brightcyan "(\$|\$\{|\$\()(pkgname|pkgver|pkgrel|pkgdesc|force|url|license|install|source|md5sums|groups|backup|depends|makedepends|conflicts|provides|replaces|startdir)(|\}|\))"
+color brightred "build\(\)"
+color brightred "\<(configure|make)\>"
+color red "\<(DESTDIR|PREFIX|prefix|sysconfdir|datadir|libdir|includedir|mandir)\>"
+
+syntax "c-file" "\.(c|h)$"
+color red "\<[A-Z_]{2,}\>"
+color green "\<(float|char|int|void|static|const|struct)\>"
+color brightyellow "\<(if|while|do|else|case|switch)\>"
+color brightcyan "^#( )*(define|include|ifn?def|endif|elif|else|if)"
+
+syntax "php" "\.php[2345s~]?$"
+color brightblue "(.*)\("
+color blue "\$[a-zA-Z_0-9$]*|[=!<>]"
+color green "(var|class|function|echo|case|break|default|exit|switch|if|else|elseif|@|while)\s"
+color green "[.,{}();]"
+color red "('.*')|(\".*\")"
+color brightyellow "(#.*|//.*)$"
+color brightyellow start="/\*" end="\*/"
+color brightblue "(<\?(php)?|\?>)"
+color white start="\?>" end="<\?(php)?"
+
+syntax "HTML" "\.html$"
+color blue start="<" end=">"
+color red "&[^; ]*;"
+
+syntax "patch" "\.(patch|diff)$"
+color brightgreen "^\+.*"
+color green "^\+\+\+.*"
+color brightblue "^ .*"
+color brightred "^-.*"
+color red "^---.*"
+color brightyellow "^@@.*"
+color magenta "^diff.*"
+
+syntax "Java source" "\.java$"
+color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
+color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
+color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
+color red ""[^\"]*""
+color yellow "\<(true|false|null)\>"
+color blue "//.*"
+color blue start="/\*" end="\*/"
+color brightblue start="/\*\*" end="\*/"
+color brightgreen,green " +$"
+
+syntax "ml" ".*\.([jrs]?html?|xml|sgml?)$"
+color white "^.+$"
+color green  start="<" end=">"
+color cyan   "<[^> ]+"
+color cyan   ">"
+color yellow start="<!DOCTYPE" end="[/]?>"
+color yellow start="<!--" end="-->"
+color red    "&[^;]*;"
+
+## syntax highlighting in xorg.conf
+##
+syntax "xorg" "xorg\.conf$"
+color brightwhite "(Section|EndSection|Sub[sS]ection|EndSub[sS]ection)"
+# keywords
+color yellow "[^A-Za-z0-9](Identifier|Screen|InputDevice|Option|RightOf|LeftOf|Driver|RgbPath|FontPath|ModulePath|Load|VendorName|ModelName|BoardName|BusID|Device|Monitor|DefaultDepth|View[pP]ort|Depth|Virtual|Modes|Mode|DefaultColorDepth|Modeline|\+vsync|\+hsync|HorizSync|VertRefresh)[^A-Za-z0-9]"
+# numbers
+color magenta "[0-9]"
+# strings
+color green ""(\\.|[^\"])*""
+# comments
+color white "#.*"
+
+# Generic conf/rc/sh file syntax highlighting
+#############################################
+syntax "conf/rc/sh" "conf$|rc$|sh$"
+color white ".+"
+color green "^#.*"
+
+# .nanorc syntax highlighting
+#############################
+syntax "nanorc" "[\.]*nanorc$"
+color white "^ *(set|unset).*$"
+color cyan "^ *(set|unset) (autoindent|backup|const|cut|fill|keypad|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|quotestr|regexp|smooth|speller|suspend|tabsize|tempfile|historylog|view)"
+color brightwhite "^ *syntax [^ ]*"
+color brightblue "^ *set\>" "^ *unset\>" "^ *syntax\>"
+color white "^ *color\>.*"
+color yellow "^ *color (bright)?(black|blue|cyan|green|magenta|red|white|yellow)\>"
+color magenta "^ *color\>"
+color green "^#.*$"




More information about the arch-commits mailing list