Skip to content
This repository was archived by the owner on Feb 19, 2023. It is now read-only.
This repository was archived by the owner on Feb 19, 2023. It is now read-only.

Highlight zig in mardown code blocks #57

Open
@matklad

Description

@matklad

Currently zig is not highligheted in markdown:

Screenshot_20221206_144459

Here's an example to make it work:

https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example

Activity

SuperAuguste

SuperAuguste commented on Feb 4, 2023

@SuperAuguste
Member

This is probably an issue for https://github.com/ziglang/vscode-zig as we don't provide highlighting grammars (though maybe we should start doing so?)

matklad

matklad commented on Feb 7, 2023

@matklad
SponsorAuthor

though maybe we should start doing so?

I think that's the way. More generally, I believe there shouldn't be separate zig and zig-zls vscode extensions, there should be a single extension that handles everything zig-related. From the user's perspective, an important part of UX is to be able to install a single thing, and trust the authors of the thing to correctly assemble a holistic user experience from the underlying tools.

To clarify, this integration would not preclude someone from shipping an alternative view of how it all should look like: the benefit is in integration, not in monopoly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @matklad@SuperAuguste

        Issue actions

          Highlight zig in mardown code blocks · Issue #57 · zigtools/zls-vscode