Open Xophmeister opened 5 years ago
Example of a false-positive:
foo? something
foo
isn't a valid type, but the question mark will get highlighted as a type and the following symbol (something
, in this case) as an identifier regardless. This is my first dabble into Vim syntax definitions; I don't really get why the contains=wdlType
bit isn't being honoured.
When a type is proceeded with a question mark (i.e., an optional value), the highlighting doesn't recognise this as an identifier definition.