Skip to content

Add support for per-file LSP configuration #1219

@itsmath

Description

@itsmath

Since it seems like luau-lang/rfcs#125 is generally supported and has a good likelihood of being merged, it would be useful if we could specify a different configuration for .config.luau files, in a Roblox project, this would prevent accidentally using the task library in config files.

This would also be useful for TestEZ, since you could include the definitions for it only in .spec.luau files. It could also be useful for Rojo projects, since .server.luau and .client.luau exist, but I can't think of specific use case for that at the moment.

I think the best way to do this is with glob patterns, but it could also be a simple file name suffix thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions