My favorites
▼
|
Sign in
nanosyntax
Nano Syntax Highlighting Config Files
Project Home
Downloads
Wiki
Issues
Source
Checkout
Browse
Changes
Source path:
svn
/
trunk
/
syntax-nanorc
/
plaudis.nanorc
r2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
## Here is an example for Paludis control files
##
syntax "bashrc" "bashrc$"
## Base text:
color brightblack "^.+$"
## sh syntax:
color brightwhite "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
icolor magenta "(.+\)|\[.+\])"
color brightwhite "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|==|&|\|)"
color brightwhite "-[Ldefgruwx]\>"
color brightwhite "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
color ,green "[[:space:]]+$"
color green "\".*\""
color brightwhite "case[[:space:]]\".+\""
color brightgreen "\$\{.+\}"
## Package name:
color brightmagenta "\$\{PN\}"
## Keywords:
color brightwhite "(CHOST|CFLAGS|CXXFLAGS|MAKEOPTS)="
color white "(SKIP_FUNCTIONS|PATH|CCACHE_SIZE|CCACHE_DIR|PALUDIS_USE_SAFE_RESUME)="
## Comments:
color brightred "#.*$"
color yellow "^#.*$"
color brightyellow "^##[[:space:]].*$"
syntax "license-use" "(licenses|use)\.conf$"
## Base text:
color brightblack "^.+$"
## Package name:
color brightblue "/.*[[:space:]]"
## Categories:
color cyan "^.*/"
## Version number:
color white "-[[:digit:]]+(\.|[[:digit:]]|-.)*([[:space:]]|::)"
## Repository name:
color magenta "::.*[[:space:]]"
## licenses and use:
color green "[[:space:]][^[:space:]]*"
color red "[[:space:]]-[^[:space:]]*"
## Masking regulators:
color brightred "^(<|<=|=|>=|>)*"
color brightwhite "^(<|<=|=|>=|>)"
## Additional variables:
color brightgreen "(ALSA_CARDS|INPUT_DEVICES|LANGUAGE|LINGUAS|VIDEO_CARDS|PALUDIS_HOOKS):?"
## Mark lines with spaces at end of it:
color brightred ".*[[:space:]]$"
## Comments:
color brightred "#.*$"
color yellow "^#.*$"
color brightyellow "^##[[:space:]].*$"
syntax "keywords" "keywords\.conf$"
## Base text:
color brightblack "^.+$"
## Package name:
color brightblue "/.*[[:space:]]"
## Categories:
color cyan "^.*/"
## Version number:
color white "-[[:digit:]]+(\.|[[:digit:]]|-.)*([[:space:]]|::)"
## Repository name:
color magenta "::.*[[:space:]]"
## Accepted arches:
color green "[[:space:]][~]?(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc|x86|x86-fbsd|\*)"
color red "-\*"
## Masking regulators:
color brightred "^(<|<=|=|>=|>)*"
color brightwhite "^(<|<=|=|>=|>)"
## Mark lines with spaces at end of it:
color brightred ".*[[:space:]]$"
## Comments:
color brightred "#.*$"
color yellow "^#.*$"
color brightyellow "^##[[:space:]].*$"
syntax "mask-unmask" "package_(mask|unmask)\.conf$"
## Base text:
color brightblack "^.+$"
## Package name:
color brightblue "/.*"
## Categories:
color cyan "^.*/"
## Version number:
color white "-[[:digit:]]+(\.|[[:digit:]]|-.)*($|::)"
## Repository name:
color magenta "::.*$"
## Masking regulators:
color brightred "^(<|<=|=|>=|>)*"
color brightwhite "^(<|<=|=|>=|>)"
## Mark lines with spaces at end of it:
color brightred ".*[[:space:]]$"
## Comments:
color brightred "#.*$"
color yellow "^#.*$"
color brightyellow "^##[[:space:]].*$"
syntax "mirrors" "mirrors\.conf$"
## Base text:
color red "^.+$"
## Serwer name:
color brightwhite "^.*[[:space:]]"
## Adress
color brightblue "[[:space:]](ftp://|http://).*$"
## Mark lines with spaces at end of it:
color brightred ".*[[:space:]]$"
## Comments:
color brightred "#.*$"
color yellow "^#.*$"
color brightyellow "^##[[:space:]].*$"
syntax "repositories" "repo"
## Base text:
color brightblack "^.+$"
## Parameters:
color magenta "=[[:space:]].+$"
color brightwhite "^.*[[:space:]]=[[:space:]]"
## Path:
color green "/.+"
color brightgreen "\$\{.*\}"
## Adress:
color brightblue "(svn\+https|svn\+http|http|rsync)://.*$"
## Mark lines with spaces at end of it:
color brightred ".*[[:space:]]$"
## Comments:
color brightred "#.*$"
color yellow "^#.*$"
color brightyellow "^##[[:space:]].*$"
Show details
Hide details
Change log
r2
by Lucractius on Oct 2, 2008
Diff
First Import of syntax files
Go to:
/trunk/nanolauncher.sh
/trunk/syntax-nanorc
/trunk/syntax-nanorc/apache2.nanorc
.../syntax-nanorc/apacheconf.nanorc
.../syntax-nanorc/aptsrclist.nanorc
/trunk/syntax-nanorc/asm.nanorc
/trunk/syntax-nanorc/bash.nanorc
/trunk/syntax-nanorc/c-file.nanorc
/trunk/syntax-nanorc/c.nanorc
...k/syntax-nanorc/changelog.nanorc
.../syntax-nanorc/changelogs.nanorc
/trunk/syntax-nanorc/clike.nanorc
/trunk/syntax-nanorc/conf.nanorc
/trunk/syntax-nanorc/config.nanorc
/trunk/syntax-nanorc/config2.nanorc
/trunk/syntax-nanorc/config3.nanorc
...syntax-nanorc/configfiles.nanorc
/trunk/syntax-nanorc/conky.nanorc
/trunk/syntax-nanorc/css.nanorc
/trunk/syntax-nanorc/debian.nanorc
/trunk/syntax-nanorc/default.nanorc
/trunk/syntax-nanorc/delphi.nanorc
/trunk/syntax-nanorc/desc.nanorc
...nk/syntax-nanorc/dotemacs.nanorc
/trunk/syntax-nanorc/dummy.nanorc
/trunk/syntax-nanorc/ebuild.nanorc
.../syntax-nanorc/ekghistory.nanorc
...k/syntax-nanorc/etc-stuff.nanorc
.../syntax-nanorc/etcportage.nanorc
/trunk/syntax-nanorc/etcxml.nanorc
/trunk/syntax-nanorc/gentoo.nanorc
/trunk/syntax-nanorc/groff.nanorc
/trunk/syntax-nanorc/havp.nanorc
/trunk/syntax-nanorc/html.nanorc
...ax-nanorc/httpstatuscodes.nanorc
/trunk/syntax-nanorc/info.nanorc
/trunk/syntax-nanorc/ini.nanorc
/trunk/syntax-nanorc/initng.nanorc
.../syntax-nanorc/initscript.nanorc
/trunk/syntax-nanorc/java.nanorc
/trunk/syntax-nanorc/js.nanorc
...k/syntax-nanorc/log-stuff.nanorc
/trunk/syntax-nanorc/maincf.nanorc
...nk/syntax-nanorc/makefile.nanorc
/trunk/syntax-nanorc/man.nanorc
...syntax-nanorc/mcchangelog.nanorc
...nk/syntax-nanorc/mimetype.nanorc
/trunk/syntax-nanorc/mutt.nanorc
/trunk/syntax-nanorc/named.nanorc
/trunk/syntax-nanorc/nanorc.nanorc
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 3854 bytes, 130 lines
View raw file
Powered by
Google Project Hosting