mirror of
https://github.com/zyedidia/micro.git
synced 2024-09-19 07:57:49 +03:00
syntax: sh: Fix command parameter highlighting (#3128)
This commit is contained in:
parent
15b36ce0d6
commit
3fce03dfd0
@ -39,7 +39,7 @@ rules:
|
||||
# Coreutils commands
|
||||
- type: "\\b(base64|basename|cat|chcon|chgrp|chmod|chown|chroot|cksum|comm|cp|csplit|cut|date|dd|df|dir|dircolors|dirname|du|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|time|timeout|touch|tr|true|truncate|tsort|tty|uname|unexpand|uniq|unlink|users|vdir|wc|who|whoami|yes)\\b"
|
||||
# Conditional flags
|
||||
- statement: " (-[A-Za-z]+|--[a-z]+)"
|
||||
- statement: "\\s+(-[A-Za-z]+|--[a-z]+)"
|
||||
|
||||
- identifier: "\\$\\{[0-9A-Za-z_:!%&=+#~@*^$?, .\\-\\/\\[\\]]+\\}"
|
||||
- identifier: "\\$[0-9A-Za-z_:!%&=+#~@*^$?,\\-\\[\\]]+"
|
||||
|
Loading…
Reference in New Issue
Block a user