Skip to content

Commit f126fba

Browse files
committed
Add class keywords
1 parent 7f437c3 commit f126fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntaxes/lpp.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
<!-- Control keywords -->
271271
<dict>
272272
<key>match</key>
273-
<string>\b(not|and|or|break|do|else|for|if|elseif|return|then|repeat|while|until|end|function|local|in|continue|goto)\b</string>
273+
<string>\b(class|constructor|extends|new|not|and|or|break|do|else|for|if|elseif|return|then|repeat|while|until|end|function|local|in|continue|goto)\b</string>
274274
<key>name</key>
275275
<string>keyword.control.lua</string>
276276
</dict>

0 commit comments

Comments
 (0)