This is the first push to this repo with my dotfiles
[dotfilesold/.git] / .nano / genie.nanorc
1 ## Here is an example for Genie.
2 syntax "genie" "\.gs$"
3
4 # Namespace.
5 color magenta "\<(uses|namespace)\>"
6
7 # Data types.
8 color green "\<(bool|byte|char|date|datetime|decimal|double|float|int|long|object|sbyte|short|single|string|ulong|ushort)\>"
9
10 # Definitions.
11 color brightred "\<(const|class|construct|def|delegate|enum|exception|extern|event|final|get|init|inline|interface|override|prop|return|set|static|struct|var|virtual|weak)\>"
12
13 # Keywords.
14 color red "\<(abstract|as|and|break|case|cast|continue|default|delete|div|do|downto|dynamic|else|ensures|except|extern|finally|for|if|implements|in|isa|is|lock|new|not|of|out|or|otherwise|pass|private|raise|raises|readonly|ref|requires|to|try|unless|when|while)\>"
15
16 # Special variables.
17 color brightcyan "\<(self|super)\>"
18
19 # Null value.
20 color brightyellow "\<(null)\>"
21
22 # Boolean.
23 color yellow "\<(false|true)\>"
24
25 # Builtin functions.
26 color cyan "\<(array|assert|dict|list|max|min|print|prop|sizeof|typeof)\>"
27
28 # Numbers.
29 color brightmagenta "[0-9][0-9\.]*(m|ms|d|h|s|f|F|l|L)?"
30
31 # Regular expression.
32 color brightgreen "/(\\.|[^/])*/"
33
34 # Double quoted string.
35 color brightblue ""(\\.|[^"])*""
36
37 # Single quoted string.
38 color brightblue "'(\\.|[^'])*'"
39
40 # Multiline string.
41 color blue start=""""" end="""""
42
43 # Line comment.
44 color yellow "(^|[[:space:]])//.*"
45
46 # Block comment.
47 color yellow start="/\*" end="\*/"
48
49 # Trailing whitespace.
50 color ,green "[[:space:]]+$"
51
52 # Spaces in front or rear of tabs.
53 color ,red "    + +| +  +"