This commit is contained in:
root
2019-08-30 19:30:19 +02:00
commit 6f2b105ca0
595 changed files with 78405 additions and 0 deletions

0
langs/zsh/modifier.txt Normal file
View File

24
langs/zsh/reserved.txt Normal file
View 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
View 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
View File

@ -0,0 +1,2 @@
true
false

22
langs/zsh/zsh.txt Normal file
View 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)