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 /lisp.nanorc
parent5f887c7e87a615f2cc1489670dbbcaab51e4752d (diff)
copying lisp & scheme themes, maybe dupes, but i cant do much about it now
Diffstat (limited to 'lisp.nanorc')
-rw-r--r--lisp.nanorc12
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp.nanorc b/lisp.nanorc
new file mode 100644
index 0000000..8fdd68e
--- /dev/null
+++ b/lisp.nanorc
@@ -0,0 +1,12 @@
+## Here is an example for Common-Lisp.
+## Adapted from http://cl-cad.blogspot.com
+## (litetabs@gmail.com)
+syntax "lisp" "\.lisp$" "asd" "\.l$"
+color green "\<(defun|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|mapc|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|defmacro)\>"
+color brightred "\<(t|nil)\>"
+icolor yellow "\:\{?[0-9A-Z_!@#$*?-]+\}?"
+color brightgreen ""(\\.|[^"])*""
+icolor blue "\*\{?[0-9A-Z_!@#$*?-]+\}?"
+color cyan "(^|[[:space:]]);.*$"