Closed sadikovi closed 3 years ago
For some reason, constants are highlighted differently in java tree-sitter grammar. Here is an example:
conf.set(S3_CLIENT_FACTORY_IMPL, "Test"); conf.set(ENDPOINT, "test-endpoint");
S3_CLIENT_FACTORY_IMPL is not highlighted but ENDPOINT is.
This is due to numbers not being in the pattern. If you remove 3 from S3_CLIENT_FACTORY_IMPL, everything works correctly.
Expected behavior:
S3_CLIENT_FACTORY_IMPL is being highlighted as ENDPOINT.
Actual behavior:
The opposite.
Reproduces how often:
100%
Prerequisites
Description
For some reason, constants are highlighted differently in java tree-sitter grammar. Here is an example:
S3_CLIENT_FACTORY_IMPL is not highlighted but ENDPOINT is.
This is due to numbers not being in the pattern. If you remove 3 from S3_CLIENT_FACTORY_IMPL, everything works correctly.
Expected behavior:
S3_CLIENT_FACTORY_IMPL is being highlighted as ENDPOINT.
Actual behavior:
The opposite.
Reproduces how often:
100%
Versions
Additional Information