Skip to content

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

Closed

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

Activity

  1. added a commit that references this issue on May 11, 2017
    bbf1f05
  2. added a commit that references this issue on May 24, 2017
  3. infininight commented on May 24, 2017

    @infininight
    Member

    Pulled the patch but also added a match for the labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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