Parameters live outside of the function_body, so if you have a function parameter that matches a module name, it will highlight the module as a @variable.parameter for the rest of the document instead of just the body of the function. As a fix we can set function as a scope instead, so function names, parameters, and body all live under one scope.
closes #25
Parameters live outside of the
function_body
, so if you have a function parameter that matches a module name, it will highlight the module as a@variable.parameter
for the rest of the document instead of just the body of the function. As a fix we can setfunction
as a scope instead, so function names, parameters, and body all live under one scope.