Skip to content

@meta annotation does not handle special characters #47

@hugeblank

Description

@hugeblank

I'm trying to define a file that has a meta annotated path with a $ in it. It seems the plugin breaks on the $ and doesn't interpret anything after it, leading it to overlap with an existing meta path, and causing the language server confusion.

An example of an instance that breaks:

--- @meta net.minecraft.client.multiplayer.ClientLevel$ClientLevelData

And what it overlaps with:

--- @meta net.minecraft.client.multiplayer.ClientLevel

The result is the linter randomly choosing between the two files while writing a test lua file that interacts with the one without a $.

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