We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f12f1af commit d917df6Copy full SHA for d917df6
Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage
@@ -784,7 +784,7 @@
784
<array>
785
<dict>
786
<key>begin</key>
787
- <string>\G(\([^)]*\))?\s*</string>
+ <string>\G\s*(\((.|\s)*\))?(?=\s* \w+)\s*(\w+)\s*</string>
788
<key>beginCaptures</key>
789
790
<key>1</key>
@@ -854,12 +854,19 @@
854
</dict>
855
</array>
856
857
+ <key>3</key>
858
+ <dict>
859
+ <key>comment</key>
860
+ <string>Class name</string>
861
+ <key>name</key>
862
+ <string>entity.name.type.class.matlab</string>
863
+ </dict>
864
865
<key>patterns</key>
866
867
868
- <string>\G\s*([a-zA-Z][a-zA-Z0-9_]*)</string>
869
+ <string>\G</string>
870
871
872
0 commit comments