summaryrefslogtreecommitdiff
path: root/.nano/nanorc.nanorc
blob: 6177a4b1dc46ef462e3abce0039e720f64ee5356 (plain)
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
syntax "nanorc" "\.nanorc$"

# set/unset
color red   "^(set|unset) (autoindent|backup|const|cut|historylog|keypad|multibuffer|noconvert|nofollow|nohelp|nowrap|preserve|regexp|smooth|suspend|tempfile|view)"
color cyan  "^set (fill|operatingdir|quotestr|speller|tabsize) \w*"
color red   "^set (fill|operatingdir|quotestr|speller|tabsize) "

# syntax
color cyan "^syntax .*"

# colors: "(bright)?(white|black|red|blue|green|yellow|magenta|cyan)"
color white,blue    "white"
color black,white   "black"
color red,white     "red"
color blue,white    "blue"
color green,white   "green"
color yellow,white  "yellow"
color magenta,white "magenta"
color cyan,white    "cyan"

color brightwhite,blue    "brightwhite"
color brightblack,white   "brightblack"
color brightred,white     "brightred"
color brightblue,white    "brightblue"
color brightgreen,white   "brightgreen"
color brightyellow,white  "brightyellow"
color brightmagenta,white "brightmagenta"
color brightcyan,white    "brightcyan"

# color
color cyan  "start=\w*"
color cyan  "end=\w*"

# commands
color blue "^(set|unset|syntax|color|icolor|include) "
# comments
color green "#.*$"

#quotes
#color yellow start="\"." end="[^((\\)*\)]\""