Skip to content

Disabling Syntax highlighting in annotated comments #3081

Discussion options

You must be logged in to vote

Thanks for the hints. I've managed to find out a (workaround) solution thanks to your help:

As you said it's not from Luals, but from some textmate settings.

You can use Developer: Inspect Editor Tokens and Scopes to find out the colour, or the scope to put in the settings.

To override these settings you can put this in your settings.json:

  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "name": "support.class.lua",
        "scope": [
          "comment.line.double-dash.documentation.lua storage.type.annotation.lua",
          "comment.line.double-dash.documentation.lua support.class.lua",
          "comment.line.double-dash.documentation.lua support.type.lua…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@distantforest1
Comment options

Answer selected by distantforest1
@CppCXY
Comment options

@tomlau10
Comment options

@distantforest1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants