Add `.mts` and `.cts` to TypeScript file extensions

See also:

https://github.com/github/linguist/pull/5905
pull/2236/head
Kid 2 years ago committed by David Peter
parent 48541b8507
commit d7b6519422

@ -23,6 +23,7 @@
- Update `Command Help` syntax, see #2255
- `Julia`: Fix syntax highlighting for function name starting with `struct`, see #2230
- Minor update to `LiveScript`, see #2291
- Associate `.mts` and `.cts` files with the `TypeScript` syntax. See #2236 (@kidonng)
## Themes

@ -4,6 +4,8 @@
name: TypeScript
file_extensions:
- ts
- mts
- cts
scope: source.ts
contexts:
main:

@ -0,0 +1 @@
const dummy: string = "Regression test for https://github.com/sharkdp/bat/pull/2236";

@ -0,0 +1 @@
const dummy: string = "Regression test for https://github.com/sharkdp/bat/pull/2236";
Loading…
Cancel
Save