Skip to content
This repository was archived by the owner on Jan 25, 2026. It is now read-only.
This repository was archived by the owner on Jan 25, 2026. It is now read-only.

aFunction in const aFunction = createFunction() is not colored as a function #172

@btakita

Description

@btakita

In https://github.com/btakita/lazily-zig/blob/main/src/examples/auth/root.zig, I have:

pub const slotAuthToken_slotFn = lazily.slotFn(
    AuthToken,
    getAuthToken,
    deinitAuthToken,
);

ZigBrains color codes slotAuthToken_slotFn as a const value rather than a function...even though it infers it being a function type.

It should be color coded as a function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    zls-upstreamLimitation of the Zig Language Server

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions