These 2-letter extensions are used by, for example:
Details
Details
- Reviewers
cullmann - Group Reviewers
Framework: Syntax Highlighting - Commits
- R216:6d158a96bbb1: Add common GLSL file extensions (.vs, .gs, .fs)
This commit also adds a test to ensure that .fs still defaults to FSharp.
Diff Detail
Diff Detail
- Repository
- R216 Syntax Highlighting
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
I am not sure we want to override F# for .fs.
Either we should not add that or we shall lower the priority of this highlighting to loose against F#.
Comment Actions
The test I added verifies that F# is still being chosen for the .fs extension (and that GLSL, added by this change, loses to F#'s higher priority).
Comment Actions
Sorry, then I did misread that in the diff, I thought QTest::newRow("fs") << QStringLiteral("test.fs") << QStringLiteral("FSharp"); enforces that FSharp is used, not the other way around ;=)