Last active
February 8, 2021 15:48
-
-
Save mheob/5541b61d901d38af640df6c4a41aac0c to your computer and use it in GitHub Desktop.
Simple (plain) JSX and TSX syntax for the micro editor https://github.com/zyedidia/micro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/micro/syntax/jsx.yaml | |
filetype: jsx | |
detect: | |
filename: "\\.jsx$" | |
rules: | |
- include: "javascript" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/micro/syntax/tsx.yaml | |
filetype: jsx | |
detect: | |
filename: "\\.tsx$" | |
rules: | |
- include: "typescript" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment