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>2014-11-13 23:14:17 +0300
committerJustin Patera <serialhex@gmail.com>2014-11-13 23:14:17 +0300
commitc7cdaf090de8651978062baa06f26aebc09602db (patch)
tree1bcf38b84ffff5be7457f9d3b51c548cec538b78 /scheme.nanorc
parent5f887c7e87a615f2cc1489670dbbcaab51e4752d (diff)
copying lisp & scheme themes, maybe dupes, but i cant do much about it now
Diffstat (limited to 'scheme.nanorc')
-rw-r--r--scheme.nanorc12
1 files changed, 12 insertions, 0 deletions
diff --git a/scheme.nanorc b/scheme.nanorc
new file mode 100644
index 0000000..0b41644
--- /dev/null
+++ b/scheme.nanorc
@@ -0,0 +1,12 @@
+## Scheme syntax highlighting
+## ...in progress
+## by jsp
+syntax "scheme" "\.scm$"
+color green "\<(define|with-open-stream|format|setf|apply|and|car|caar|cadr|cdar|cddr|cdr|close|cond|cons|count|do|eql|equal|eval|if|let*|let|list|load|make-package|mapcar|not|null|numberp|open|or|pprint|prin1|princ|print|provide|read|require|setq|slot-value|sort|stringp|terpri|write|case|progn|when|loop|unless|with-output-to-string|labels|return-from|handler-case|eval-when|declare|with-open-file|multiple-value-bind|with-standard-io-syntax|getf|remove-if-not|dolist|consp)\>"
+color red "\<(error|else|for|in-package|defpackage|defsystem|lambda)\>"
+color cyan "\<(defclass|defstruct|defvar|defconstant|defmethod|defgeneric|defparameter)\>"
+color brightred "\<(t|nil)\>"
+icolor yellow "\:\{?[0-9A-Z_!@#$*?-]+\}?"
+color brightgreen ""(\\.|[^"])*""
+icolor blue "\*\{?[0-9A-Z_!@#$*?-]+\}?"
+color cyan "(^|[[:space:]]);.*$"