p4t5h3 / purebasic-language-for-sublime-text

PureBasic support for Sublime Text.
MIT License
4 stars 1 forks source link

Procedure calls are not scoped correctly #24

Closed p4t5h3 closed 2 years ago

p4t5h3 commented 2 years ago

From the Sublime Text documentation about scope naming:

Function names, including the full path, and all parameters should receive the following scope. The name of the function or method should be variable.function, unless the function is scoped with support.function.

meta.function-call

Currently the procedure name in a call is scoped as:

source.purebasic meta.function.purebasic variable.other.purebasic

Also reassess the parenthesis and parameters.

p4t5h3 commented 2 years ago

Otherwise the scoping was already correct.