You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, the .ts file extension is used by TypeScript as well as QT translation files which are in XML format.
The languages.yml file includes this for both languages but linguist internally links extensions to languages using a map. This will result in the last entry added to the map winning.
Currently LanguageByFilename returns a string. We should probably deprecate it and introduce a version of this function that returns a list of matching languages.
The text was updated successfully, but these errors were encountered:
For example, the
.ts
file extension is used by TypeScript as well as QT translation files which are in XML format.The
languages.yml
file includes this for both languages butlinguist
internally links extensions to languages using amap
. This will result in the last entry added to the map winning.Currently
LanguageByFilename
returns a string. We should probably deprecate it and introduce a version of this function that returns a list of matching languages.The text was updated successfully, but these errors were encountered: