Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f7d2399404
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (19 sloc) 0.728 kB
syntax "lua" "\.lua$"
header "^#!.*lua(jit)?$"
FUNCTION: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*([({'"]|\[=*\[)"
KEYWORD: "\<(do|end|while|repeat|until|if|elseif|then|else)\>"
KEYWORD: "\<(for|in|function|local|return|break|nil|goto)\>"
+BOOLEAN
OPERATOR: "[-+:*/%^=#<>]|~=|\.\.|\[|\]|\<(not|and|or)\>"
WARNING: "[`!@$&|?]|!="
PLAIN: "\.{3,}|[({'"]"
NUMBER: "\<([0-9]+)(\.[0-9]+)?([Ee][+-]?[0-9]+)?\>|0x[0-9a-fA-F]*"
SECTION: "::[A-Za-z_][A-Za-z0-9_]*::"
+STRING
STRING: start="\[\[" end="\]\]"
STRING: start="\[=\[" end="\]=\]"
STRING: start="\[==\[" end="\]==\]"
ESCAPE: "\\([0-9]{1,3}|x[A-Fa-f0-9]{2}|[abefntrv'"\\]|\[|\])"
COMMENT: "^#!.*" "(^|[[:space:]])\-\-.*$"
COMMENT: start="\-\-\[\[" end="\]\]"
+LINT
Jump to Line
Something went wrong with that request. Please try again.