[language-typescript] Add cts(x)/mts(x) to the file extensions lists

This commit is contained in:
Andrew Dupont 2024-03-01 15:43:49 -08:00
parent 0cea2667a8
commit 2827e6a4c4
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ scopeName: 'source.tsx'
type: 'modern-tree-sitter'
parser: 'tree-sitter-typescript/tsx'
fileTypes: ['tsx']
fileTypes: ['tsx', 'ctsx', 'mtsx']
injectionRegex: '^(tsx|TSX)$'

View File

@ -3,7 +3,7 @@ scopeName: 'source.ts'
type: 'modern-tree-sitter'
parser: 'tree-sitter-typescript/typescript'
fileTypes: ['ts']
fileTypes: ['ts', 'cts', 'mts']
injectionRegex: '^(typescript|TYPESCRIPT|ts|TS)$'