Skip to content

Mark vendored Lexbor as linguist-vendored - #6

Merged
marcalc merged 2 commits into
mainfrom
add-linguist-vendored
Jul 3, 2026
Merged

Mark vendored Lexbor as linguist-vendored#6
marcalc merged 2 commits into
mainfrom
add-linguist-vendored

Conversation

@marcalc

@marcalc marcalc commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

The vendored Lexbor C source causes GitHub Linguist to report the repo as ~99% C, so it doesn't show up in V-language searches or get labeled as a V project.

This adds a .gitattributes marking lexbor/** as linguist-vendored, excluding it from language statistics. GitHub will then detect the repo as a V project based on the .v files.

Notes

  • Linguist recomputes stats when GitHub next processes a push to the default branch, so this takes effect after merge.

The vendored Lexbor C source made GitHub Linguist report the repo as
99% C, so it didn't appear in V-language searches. Excluding lexbor/**
from language stats lets it be detected correctly as a V project.
@marcalc
marcalc merged commit 9e2e513 into main Jul 3, 2026
1 check passed
@marcalc
marcalc deleted the add-linguist-vendored branch July 3, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant