FILE: C:\Program Files\Git\usr\share\nano\lua.nanorc
--
## Syntax highlighting for Lua.
## Original author: Matthew Wild
## License: GPL version 3 or newer
syntax lua "\.lua$"
magic "Lua script"
comment "--"
linter luacheck --no-color
color brightwhite "\[\[.*\]\]"
# Operators
color brightyellow ":|\*|/|%|\+|-|\^|>|>=|<|<=|~=|=|\.\.|#|\<(not|and|or)\>"
# Don't partially color ... as an operator
color normal "\.\.\."
# Statements
color brightblue "\<(do|end|while|repeat|until|if|elseif|then|else|for|in|function|local|return|break)\>"
# Keywords
color brightyellow "\<(_G|_VERSION|assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|module|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)[[:blank:]]*\("
# Standard library
color brightyellow "\"
color brightyellow "\"
color brightyellow "\"
color brightyellow "\