2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-06 21:20:25 +00:00

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
- `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

View File

@ -4,6 +4,8 @@
name: TypeScript
file_extensions:
- ts
- mts
- cts
scope: source.ts
contexts:
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";