Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/serialhex/nano-highlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Patera <serialhex@gmail.com>2011-06-05 22:51:00 +0400
committerJustin Patera <serialhex@gmail.com>2011-06-05 22:51:00 +0400
commitbf4f2e23c4c888c289b21abb1e925c37d3487fa3 (patch)
tree648a06b48d8b595c1a310059561699f3fddecd34 /ini.nanorc
initil commit, mostly not my stuff, read the README for attribution
Diffstat (limited to 'ini.nanorc')
-rw-r--r--ini.nanorc17
1 files changed, 17 insertions, 0 deletions
diff --git a/ini.nanorc b/ini.nanorc
new file mode 100644
index 0000000..3b069a2
--- /dev/null
+++ b/ini.nanorc
@@ -0,0 +1,17 @@
+# ini highlighting
+syntax "ini" "\.ini(\.old|~)?$"
+
+# values
+color brightred "=.*$"
+# equal sign
+color green "="
+# numbers
+color brightblue "-?[0-9\.]+\s*($|;)"
+# ON/OFF
+color brightmagenta "ON|OFF|On|Off|on|off\s*($|;)"
+# sections
+color brightcyan "^\s*\[.*\]"
+# keys
+color cyan "^\s*[a-zA-Z0-9_\.]+"
+# comments
+color brightyellow ";.*$" \ No newline at end of file