Consider module as function call for highlighting
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Their semantic is closer to a function call (like i.e: Bazel rules) rather than a module/namespace. Similarly for their properties, which are more like parameters than members.
This commit is contained in:
parent
be1e3f07d3
commit
f6e1266493
4 changed files with 12 additions and 12 deletions
|
|
@ -42,11 +42,11 @@
|
|||
(identifier) @variable
|
||||
|
||||
(module
|
||||
type: (identifier) @module)
|
||||
type: (identifier) @function.call)
|
||||
|
||||
(module
|
||||
(property
|
||||
field: (identifier) @variable.member))
|
||||
field: (identifier) @variable.parameter))
|
||||
; }}}
|
||||
|
||||
; Built-ins {{{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue