aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDamian Tarnawski <gthetarnav@gmail.com>2023-06-24 00:34:28 +0200
committerDamian Tarnawski <gthetarnav@gmail.com>2023-06-24 00:34:28 +0200
commit17071812ee1cf4fe1ef8b2601e87450a35ac7eb2 (patch)
tree92ade4cd9fe76db78eb4f2f94226137bbf670fe6 /editors
parent7786a0c7ade271c804ebc32b6fa05d3d0428b814 (diff)
Don't mark builtin proc calls on property access
Diffstat (limited to 'editors')
-rw-r--r--editors/vscode/syntaxes/odin.tmLanguage.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vscode/syntaxes/odin.tmLanguage.json b/editors/vscode/syntaxes/odin.tmLanguage.json
index c21d2f0..b32428a 100644
--- a/editors/vscode/syntaxes/odin.tmLanguage.json
+++ b/editors/vscode/syntaxes/odin.tmLanguage.json
@@ -64,7 +64,7 @@
"1": { "name": "support.function.builtin.odin" },
"2": { "name": "punctuation.odin" }
},
- "match": "\\b(len|cap|size_of|align_of|offset_of_selector|offset_of_member|offset_of|offset_of_by_string|type_of|type_info_of|typeid_of|swizzle|complex|quaternion|real|imag|jmag|kmag|conj|expand_values|min|max|abs|clamp|soa_zip|soa_unzip|make|resize|reserve|append|delete|assert|panic)\\b\\s*(\\()"
+ "match": "(?<!\\.)\\b(len|cap|size_of|align_of|offset_of_selector|offset_of_member|offset_of|offset_of_by_string|type_of|type_info_of|typeid_of|swizzle|complex|quaternion|real|imag|jmag|kmag|conj|expand_values|min|max|abs|clamp|soa_zip|soa_unzip|make|resize|reserve|append|delete|assert|panic)\\b\\s*(\\()"
},
{
"captures": {