# Lua mode
#-------------------------------------------
ID_FirstChar	A-Za-z_
ID_Middle	A-Za-z_0-9

SyntaxOptions
	SingleQuote	Yes
	DoubleQuote	Yes
	QuoteChar	\
	QuoteQuote	No
	SplitString	Yes
End

SyntaxComment 1
	Type		Oneline
	StartWith	--
End

SyntaxWords Group1 case
	while do end repeat until if then else elseif function { }
End

SyntaxWords Group2 case
	break in return local nil for and or not
End

SyntaxWords Group3 case
	_ALERT assert call collectgarbage copytagmethods
	dofile dostring error foreach foreachvar getglobal getn
	gettagmethod globals newtag next nextvar print
	rawget rawgetglobal rawgettable rawset rawsetglobal
	rawsettable setglobal settag settagmethod sort tag
	tonumber tostring tinsert tremove type     
	strfind strlen strsub strlower strupper strrep strbyte strchar
	format gsub abs acos asin atan atan2 ceil cos deg floor
	log log10 max min mod rad sin sqrt tan frexp ldexp
	random randomseed openfile closefile readfrom writeto
	appendto read write exit execute getenv
	switch input array chars words int ptr strp char str
	swi regs bnot imod band bor bxor lshift rshift arshift
End



