Skip to content

Lua long strings/comments [[ [=[ [==[ etc #948

@justarandomgeek

Description

@justarandomgeek

Lua uses double brackets [[ ]] and extended double brackets with any number of = in them [=[ [==[ [===[ [====[ ]====] ]===] ]==] ]=] etc to designate multiline strings, and the same open bracket preceded immediately by -- (like --[[ --[=[ etc) for multi-line comments. I assume you can't do an infinitely-long bracket ligature, but maybe some reasonable sized set of them (up to four, perhaps?) could be joined up?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions