mirror of
https://github.com/zyedidia/micro.git
synced 2024-10-27 12:37:38 +03:00
Add .tsx support for Typescript syntax (#2021)
* Update to look for tsx files also * Shorten filename detection
This commit is contained in:
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"
|
||||
|
Loading…
Reference in New Issue
Block a user