mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-18 22:23:07 -03:00
Return group color if language has none
This commit is contained in:
@ -67,6 +67,11 @@ The most accurate guess would be one when both, the file name and the content ar
|
||||
- `IsDotFile`
|
||||
- `IsImage`
|
||||
|
||||
### Language colors and groups
|
||||
*enry* exposes function to get language color to use for example in presenting statistics in graphs:
|
||||
- `GetColor`
|
||||
- `GetLanguageGroup` can be used to group similar languages together e.g. for `Less` this function will return `CSS`
|
||||
|
||||
## Languages
|
||||
|
||||
### Go
|
||||
|
Reference in New Issue
Block a user