Merge pull request #2236 from kidonng/patch-1

Add `.mts` and `.cts` to TypeScript file extensions
This commit is contained in:
David Peter 2022-09-04 22:20:02 +02:00 committed by GitHub
commit ca9843fa83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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