mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 22:50:21 +09:00
Add .tsx support for Typescript syntax (#2021)
* Update to look for tsx files also * Shorten filename detection
This commit is contained in:
committed by
GitHub
parent
a36ab0188a
commit
d7abc8f100
@@ -1,7 +1,7 @@
|
||||
filetype: typescript
|
||||
|
||||
detect:
|
||||
filename: "\\.ts$"
|
||||
filename: "\\.tsx?$"
|
||||
|
||||
rules:
|
||||
- constant.number: "\\b[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\\b"
|
||||
|
||||
Reference in New Issue
Block a user