Skip to content

Commit 60e3ca0

Browse files
committed
fix(tsx) prefer // comments same as .ts
closes #702
1 parent fcbc7f3 commit 60e3ca0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

settings/language-tsx.cson

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
'.source.tsx':
2+
'editor':
3+
'commentStart': '// '
4+
'foldEndPattern': '^\\s*\\}|^\\s*\\]|^\\s*\\)'
5+
'increaseIndentPattern': '(?x)
6+
\\{ [^}"\']* $
7+
| \\[ [^\\]"\']* $
8+
| \\( [^)"\']* $
9+
'
10+
'decreaseIndentPattern': '(?x)
11+
^ \\s* (\\s* /[*] .* [*]/ \\s*)* [}\\])]
12+
'

0 commit comments

Comments
 (0)