Expand description
A path’s language, its Linguist colour, and its comment syntax for the line counter. The syntax registry owns the extension table for every language it highlights; this module adds the ones it only counts.
Structs§
Functions§
- count_
lines (code, comments, blanks). A line counts as a comment only when it opens with one, assccandcloccount.- of_path
- readable_
on - Push
coloraway frombguntil it reaches 3:1 contrast. Linguist tunes its palette for a white page, so JSON’s#292929vanishes on a dark one.