Skip to content

Commit 82c7bcb

Browse files
committed
Remove misleading highlighting for properties/methods/struct accesses
1 parent 264823e commit 82c7bcb

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,7 @@
18441844
<key>name</key>
18451845
<string>meta.function-call.parens.matlab</string>
18461846
<key>begin</key>
1847-
<string>([a-zA-Z][a-zA-Z0-9_]*)\s*(\()</string>
1847+
<string>(?&lt;!\.)\b([a-zA-Z][a-zA-Z0-9_]*)\s*(\()</string>
18481848
<key>end</key>
18491849
<string>(\)|(?&lt;!\.{3}.*)\n)</string>
18501850
<key>beginCaptures</key>
@@ -3045,15 +3045,6 @@
30453045
</dict>
30463046
</dict>
30473047
</dict>
3048-
<key>property</key>
3049-
<dict>
3050-
<key>comment</key>
3051-
<string>Class property or enumeration member access</string>
3052-
<key>name</key>
3053-
<string>variable.other.property.matlab</string>
3054-
<key>match</key>
3055-
<string>(?&lt;=\.)[a-zA-Z][a-zA-Z0-9_]*(?![a-zA-Z0-9_]|(?:\(|\{|\.\())</string>
3056-
</dict>
30573048
<key>readwrite_variable</key>
30583049
<dict>
30593050
<key>comment</key>

0 commit comments

Comments
 (0)