mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
Add tsx syntax highlight support
This commit is contained in:
parent
0f4b610c4c
commit
233897d02c
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ export const useSyntaxHighlightingExtension = (language: string, view: EditorVie
|
|||
view ?? null,
|
||||
() => {
|
||||
switch (language.toLowerCase()) {
|
||||
case "tsx":
|
||||
case "typescript":
|
||||
case "javascript":
|
||||
return javascript({
|
||||
|
|
|
|||
Loading…
Reference in a new issue