summaryrefslogtreecommitdiff
path: root/.nano/nanorc.nanorc
diff options
context:
space:
mode:
Diffstat (limited to '.nano/nanorc.nanorc')
-rw-r--r--.nano/nanorc.nanorc40
1 files changed, 40 insertions, 0 deletions
diff --git a/.nano/nanorc.nanorc b/.nano/nanorc.nanorc
new file mode 100644
index 0000000..6177a4b
--- /dev/null
+++ b/.nano/nanorc.nanorc
@@ -0,0 +1,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="[^((\\)*\)]\""