Statistics by directory override language #6299
-
At present, it seems to only support I have a demand case,The .ipynb file in the /notebook/csharp directory should counted as C# ,then .ipynb file in the /notebook/fsharp directory should counted as F# |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Linguist analyses files in isolation and doesn't consider the directory structor or other files within a directory at all. So if you want all the notebook/csharp/**/*.ipynb linguist-language=csharp
notebook/fsharp/**/*.ipynb linguist-language=fsharp |
Beta Was this translation helpful? Give feedback.
Linguist analyses files in isolation and doesn't consider the directory structor or other files within a directory at all. So if you want all the
.ipynb
files in/notebook/csharp
to be considered as C# and those in/notebook/fsharp
to be F#, you will need to implement an override like this: