feat(tera): highlight self function namespace as @module.builtin

This commit is contained in:
uncenter 2025-03-05 14:12:27 -05:00
parent e4fd63a84c
commit 33ccc7e8e8
No known key found for this signature in database

View file

@ -122,6 +122,11 @@
scope: (identifier)? @module
name: (identifier) @function.call)
(call_expression
scope: (identifier) @module.builtin
name: (identifier) @function.call
(#eq? @module.builtin "self"))
(call_expression
name: (identifier) @function.builtin
(#any-of? @function.builtin