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 /postgresql.nanorc
initil commit, mostly not my stuff, read the README for attribution
Diffstat (limited to 'postgresql.nanorc')
-rw-r--r--postgresql.nanorc5
1 files changed, 5 insertions, 0 deletions
diff --git a/postgresql.nanorc b/postgresql.nanorc
new file mode 100644
index 0000000..7647965
--- /dev/null
+++ b/postgresql.nanorc
@@ -0,0 +1,5 @@
+syntax "postgreSQL" "\.sql$"
+icolor red "\<(A(LL|NALY(S|Z)E|ND|NY|RRAY|S|SC|SYMMETRIC|UTHORIZATION)|B(ETWEEN|INARY|OTH|Y)|C(ASE|AST|HECK|OLLATE|OLUMN|ONSTRAINT|REATE|ROSS|URRENT_(DATE|ROLE|TIME|TIMESTAMP|USER))|D(EFAULT|EFERRABLE|ESC|ISTINCT|O|ROP)|E(LSE|ND|XCEPT)|F(ALSE|OR(EIGN)?|REEZE|ROM|ULL)|GRANT|GROUP|HAVING|I(LIKE|N(ITIALLY|NER|TERSECT|TO)?|S|SNULL)|JOIN|L(EADING|EFT|IKE|IMIT|OCALTIME(STAMP)?)|N(ATURAL|EW|OT(NULL)?|ULL)|O(FF(SET)?|LD|N|NLY|R|RDER|UTER|VERLAPS)|PLACING|PRIMARY|REFERENCES|RIGHT|S(ELECT|ESSION_USER|IMILAR|OME|YMMETRIC)|T(ABLE|HEN|O|RAILING|RUE)|UNION|UNIQUE|USER|USING|VE(IW|RBOSE)|WHEN|WHERE|)\>"
+color magenta "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
+color yellow "'[^']*'"
+color green "--.*$"