Skip to content

Nested comments don't syntax highlight properly in WASM Text Format #13757

Open
@samualtnorman

Description

@samualtnorman

Summary

It's great that Helix now has out-the-box support for wat_server, but the depended on repository for the WASM Text Format hasn't been maintained in 3 years. There is a 2 year old open pull request on it to fix this bug on that repository but I don't see it being merged any time soon.

Maybe the WAT grammar repo could be forked or for now, the PR's fork could be switched to. I don't exactly know what the best solution there is.

Reproduction Steps

(; (; just a nested comment ;) :)

(func)

To be fair, you can see above even GitHub gets this wrong.

Helix log

No response

Platform

Linux

Terminal Emulator

alacritty 0.15.1

Installation Method

nixpkgs

Helix Version

helix 25.01.1 (e7ac2fc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions