mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 05:47:06 +09:00
Add default colorscheme (based on solarized) and colorscheme support
This commit is contained in:
@@ -25,10 +25,10 @@ color brightmagenta "\b((g|ig)?awk|find|\w{0,4}grep|kill|killall|\w{0,4}less|mak
|
||||
color brightmagenta "\b(base64|basename|cat|chcon|chgrp|chmod|chown|chroot|cksum|comm|cp|csplit|cut|date|dd|df|dir|dircolors|dirname|du|echo|env|expand|expr|factor|false|fmt|fold|head|hostid|id|install|join|link|ln|logname|ls|md5sum|mkdir|mkfifo|mknod|mktemp|mv|nice|nl|nohup|nproc|numfmt|od|paste|pathchk|pinky|pr|printenv|printf|ptx|pwd|readlink|realpath|rm|rmdir|runcon|seq|(sha1|sha224|sha256|sha384|sha512)sum|shred|shuf|sleep|sort|split|stat|stdbuf|stty|sum|sync|tac|tail|tee|test|timeout|touch|tr|true|truncate|tsort|tty|uname|unexpand|uniq|unlink|users|vdir|wc|who|whoami|yes)\b"
|
||||
|
||||
## Function definition
|
||||
brightgreen (i) "^\s+(function\s+)[0-9A-Z_]+\s+\(\)"
|
||||
color brightgreen (i) "^\s+(function\s+)[0-9A-Z_]+\s+\(\)"
|
||||
|
||||
## Variables
|
||||
brightred (i) "\$\{?[0-9A-Z_!@#$*?-]+\}?"
|
||||
color brightred (i) "\$\{?[0-9A-Z_!@#$*?-]+\}?"
|
||||
|
||||
## Strings
|
||||
color yellow ""(\\.|[^"])*""
|
||||
|
||||
Reference in New Issue
Block a user