fork
This commit is contained in:
0
langs/zsh/modifier.txt
Normal file
0
langs/zsh/modifier.txt
Normal file
24
langs/zsh/reserved.txt
Normal file
24
langs/zsh/reserved.txt
Normal file
@ -0,0 +1,24 @@
|
||||
function
|
||||
return
|
||||
declare
|
||||
shift
|
||||
_arguments
|
||||
_describe
|
||||
_values
|
||||
_command_name
|
||||
_files
|
||||
_directories
|
||||
_host _hosts
|
||||
_ips
|
||||
_ports
|
||||
_net_interfaces
|
||||
_groups
|
||||
_urls
|
||||
_pids
|
||||
_signals
|
||||
_users
|
||||
_mac_applications (Mac OS)
|
||||
_x_color
|
||||
_x_window
|
||||
_x_font
|
||||
_x_display
|
19
langs/zsh/statement.txt
Normal file
19
langs/zsh/statement.txt
Normal file
@ -0,0 +1,19 @@
|
||||
if
|
||||
then
|
||||
else
|
||||
elfi
|
||||
fi
|
||||
case
|
||||
esac
|
||||
while
|
||||
until
|
||||
do
|
||||
done
|
||||
for
|
||||
in
|
||||
select
|
||||
repeat
|
||||
coproc
|
||||
nocorrect
|
||||
forend
|
||||
end
|
2
langs/zsh/type.txt
Normal file
2
langs/zsh/type.txt
Normal file
@ -0,0 +1,2 @@
|
||||
true
|
||||
false
|
22
langs/zsh/zsh.txt
Normal file
22
langs/zsh/zsh.txt
Normal file
@ -0,0 +1,22 @@
|
||||
### ZSH LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME ZSH
|
||||
VERSION 1.0.0
|
||||
|
||||
COMMENT (?default)
|
||||
PREPROCESSOR (?default)
|
||||
STRING ((?<!\\)"[^\r\n]*?(?<!\\)")|((?<!\\)'[^\r\n]*?(?<!\\)')
|
||||
|
||||
STATEMENT (?default)|\b(?alt:statement.txt)\b
|
||||
RESERVED (?default)|\b(?alt:reserved.txt)\b
|
||||
TYPE (?default)|\b(?alt:type.txt)\b
|
||||
MODIFIER (?default)|\b(?alt:modifier.txt)\b
|
||||
|
||||
ENTITY (?default)|(\.[a-z_]\w*\b)
|
||||
VARIABLE (?default)|(\$[a-z0-9_\{\}\[\}]]\w*\b)
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
Reference in New Issue
Block a user