Skip to content

Use Result to pack the return value #11

@h4kuy4

Description

@h4kuy4

While I'm trying to write a plugin to highlight the code with tree sitter, I found that I can't pass the error to the outside.
I suggest that use Resut to pack the return value instead of use return value directly.

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