Skip to content

[lua] "goto" missing in Lua syntax highlighting #5

@aeschli

Description

@aeschli

From @BinaryInk on December 2, 2015 22:2

When using the goto keyword, it is not highlighted, nor is the label selected.

Example:

function func()
     if this == that then
          do = this
          goto continueHere
     elseif this2 == that2 then
          ::continueHere::
     end
end

Ignoring the terrible example itself, the problem occurs on line 4 where no highlighting will occur. Line 6, where the label is, highlights correctly, however.

Copied from original issue: microsoft/vscode#942

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions