Skip to content

Semicolon is not displayed correctly when 'Lua > Hint: Enable' parameter is set #1530

Description

@serg3295

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Linux

What is the issue affecting?

Formatting

Expected Behaviour

A = 1; B = 1;
A = 1; B = 1

Actual Behaviour

e1
e2

Reproduction steps

  1. Set Lua > Hint: Enable
  2. Set Lua > Hint: Semicolon -> SameLine
  3. See errorA; = 1 B = 1
  4. Set Lua > Hint: Semicolon -> All
  5. See errorA; = 1 B; = 1

Additional Notes

No response

Log File

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions