Skip to content

Change the highlighter color for GO_CODE #7

@FooBarrior

Description

@FooBarrior

Here highlighting color is defined by the link:

val Code: TextAttributesKey = createTextAttributesKey("Y_CODE", DefaultLanguageHighlighterColors.BLOCK_COMMENT)

GO_CODE is eventually mapped to DefaultLanguageHighlighterColors.BLOCK_COMMENT, which uncomforts reading, especially under impossibility of configuring this highlighting for goyacc only.

Please do either:

  • Change BLOCK_COMMENT to something more appropriate, for example, IDENTIFIER. Or
  • Add new highlighting category into settings.

I think the first approach is much simpler and should work just fine, but anyway it's not a block comment, so that's 100% incorrect.

Thanks for the plugin, btw. I've successfully attached it to usual yacc file in mariadb project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions