Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WGSL code inside JS shows as JS in Language stats #102

Open
Absulit opened this issue May 19, 2024 · 1 comment
Open

WGSL code inside JS shows as JS in Language stats #102

Absulit opened this issue May 19, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Absulit
Copy link
Owner

Absulit commented May 19, 2024

image

So this stat here is a bit misleading, there's a lot of wgsl code inside some js files used as import,

I think this is just a matter of adding
src/core/* linguist-language=wgsl
and that would be it

but there's also the RenderPasses directory inside which is not full wgsl

@Absulit Absulit added enhancement New feature or request good first issue Good for newcomers labels May 19, 2024
@Absulit Absulit self-assigned this May 19, 2024
@Absulit
Copy link
Owner Author

Absulit commented May 19, 2024

I've added the .gitattributes file with the linguist addition but I see no change in the branch page, I don't know if that's enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant