Skip to content

Things change color when scrolling down multi line unions #2110

@CodeGreen0386

Description

@CodeGreen0386

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Annotations

Expected Behaviour

Things (classes, strings, etc) should maintain their given color in a multi line union.

Actual Behaviour

Things are colored correctly until a certain scroll threshold is reached, where they will turn blue and remain blue when scrolling further down.

Reproduction steps

  1. Create a very large multi line union in an alias, field, whatever
  2. Scroll down until typedefs change color

Additional Notes

The example given is only strings, but it happens with everything.

Above threshold:
image

Below threshold:
image

Log File

I doubt these are useful, but here they are anyway. Apologies for the massive workspace.
file_c%3A_Users_mapop_AppData_Roaming_Factorio_mods.log
service.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions