MISC: Support css file type (#2378)

This commit is contained in:
Shy
2025-11-05 23:05:31 +01:00
committed by GitHub
parent 9cd3ffd308
commit 4ad9a96788
18 changed files with 38 additions and 27 deletions
+3
View File
@@ -58,6 +58,9 @@ function makeModel(hostname: string, filename: string, code: string): editor.ITe
case FileType.NS1:
language = "javascript";
break;
case FileType.CSS:
language = "css";
break;
default:
throwIfReachable(fileType);
}