Skip to content

Commit

Permalink
chore: add rules for .cjsx, .mjsx, .cts, .cmts, .ctsx, .mtsx
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Cherng <[email protected]>
  • Loading branch information
jfcherng committed Nov 2, 2024
1 parent 8ab5eca commit 951d8f9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions AutoSetSyntax.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,28 @@
}
]
},
{
"syntaxes": "scope:source.ts",
"selector": "text.plain",
"match": "all",
"rules": [
{
"constraint": "is_extension",
"args": [".cts", ".mts"]
}
]
},
{
"syntaxes": "scope:source.tsx",
"selector": "text.plain",
"match": "all",
"rules": [
{
"constraint": "is_extension",
"args": [".ctsx", ".mtsx"]
}
]
},
{
"syntaxes": "scope:source.js",
"selector": "text.plain",
Expand All @@ -302,6 +324,17 @@
}
]
},
{
"syntaxes": "scope:source.jsx",
"selector": "text.plain",
"match": "all",
"rules": [
{
"constraint": "is_extension",
"args": [".cjsx", ".mjsx"]
}
]
},
{
"syntaxes": "scope:source.lua",
"selector": "text.plain",
Expand Down

0 comments on commit 951d8f9

Please sign in to comment.