Skip to content

Commit 8104fe8

Browse files
committed
fix(grammar) puclic -> public
refs #581 (comment)
1 parent 952c84e commit 8104fe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

grammars/typescript.cson

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
}
166166
{
167167
'comment': 'Matches class method names and styles as function, even if marked private, or getters/setters'
168-
'begin': '((?:(?:private|puclic|protected|static)\\s+){0,2})((?:[\\p{L}\\p{Nl}$_][\\p{L}\\p{Nl}$\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}\\x{200C}\\x{200D}]*)?)<'
168+
'begin': '((?:(?:private|public|protected|static)\\s+){0,2})((?:[\\p{L}\\p{Nl}$_][\\p{L}\\p{Nl}$\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}\\x{200C}\\x{200D}]*)?)<'
169169
'beginCaptures':
170170
'1':
171171
'name': 'storage.modifier.js'
@@ -188,7 +188,7 @@
188188
]
189189
}
190190
{
191-
'match': '((?:(?:private|puclic|protected|static)\\s+){0,2})(?:(get|set)\\s+)?([\\p{L}\\p{Nl}$_][\\p{L}\\p{Nl}$\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}\\x{200C}\\x{200D}]*)(?=\\()'
191+
'match': '((?:(?:private|public|protected|static)\\s+){0,2})(?:(get|set)\\s+)?([\\p{L}\\p{Nl}$_][\\p{L}\\p{Nl}$\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}\\x{200C}\\x{200D}]*)(?=\\()'
192192
'captures':
193193
'1':
194194
'name': 'storage.modifier.js'
@@ -214,7 +214,7 @@
214214
]
215215
}
216216
{
217-
'begin': '((?:(?:private|puclic|protected|static)\\s+){0,2})([\\p{L}\\p{Nl}$_][\\p{L}\\p{Nl}$\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}\\x{200C}\\x{200D}]*)(\\??)\\s*:\\s*'
217+
'begin': '((?:(?:private|public|protected|static)\\s+){0,2})([\\p{L}\\p{Nl}$_][\\p{L}\\p{Nl}$\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}\\x{200C}\\x{200D}]*)(\\??)\\s*:\\s*'
218218
'beginCaptures':
219219
'1':
220220
'name': 'storage.modifier.js'
@@ -233,7 +233,7 @@
233233
]
234234
}
235235
{
236-
'match': '((?:(?:private|puclic|protected|static)\\s+){0,2})([\\p{L}\\p{Nl}$_][\\p{L}\\p{Nl}$\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}\\x{200C}\\x{200D}]*)(\\??)'
236+
'match': '((?:(?:private|public|protected|static)\\s+){0,2})([\\p{L}\\p{Nl}$_][\\p{L}\\p{Nl}$\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}\\x{200C}\\x{200D}]*)(\\??)'
237237
'captures':
238238
'1':
239239
'name': 'storage.modifier.js'

0 commit comments

Comments
 (0)