Skip to content

Commit 3466957

Browse files
committed
Support source.tsx with styles and snippets
1 parent 0009e7e commit 3466957

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

snippets/typescript-snippets.cson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'.source.ts':
1+
'.source.ts, .source.tsx':
22
'reference':
33
'prefix': 'ref'
44
'body': """
@@ -137,4 +137,4 @@
137137
'prefix': '#!'
138138
'body': """
139139
#!/usr/bin/env node
140-
"""
140+
"""

styles/atomts-grammar-syntax.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
atom-text-editor::shadow {
2-
.source.ts {
2+
.source.ts,
3+
.source.tsx {
34
.require.path, .reference.path, .es6import.path, .amd.path {
45
text-decoration: underline;
56
}

0 commit comments

Comments
 (0)