Open
Description
Requisite minimal reproducible example, formatted as plain text :
.parse(process.argv, {
unknown: (arg) => `Unknown option: ${arg}`,
});
The issue I'm running into is that globals (and maybe some other highlighting groups as well, I haven't done a comprehensive check) have a lower priority than the function parameters highlight group. In the example above, process.argv
is passed as a parameter but is missing the highlighting for being a global. If I were to move this out of the function call, the correct highlighting is applied.
This is of course a super minor issue, but I thought I'd open it for tracking as I haven't seen any references. I could also be in the minority here, certainly possible for this to be intentional that globals have a lower priority than function parameters when it comes to highlighting.
Metadata
Metadata
Assignees
Labels
No labels