Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Elixir: Missing syntax highlight in modules and atoms  #165

@feliperenan

Description

@feliperenan

You can see the issue on the screenshot below:

image

I've done this workaround on my current settings. But I'm not sure if they should be in this repo or somewhere else though since scopes come from vscode-elixir-ls

  "editor.tokenColorCustomizations": {
    "[Nord]": {
      "types": "#8FBCBB",
      "textMateRules": [
        {
         "name": "Elixir: module attributes",
         "scope": "variable.other.readwrite.module.elixir",
         "settings": {
           "foreground": "#D8DEE9",
           "fontStyle": "bold"
         }
        },
        {
         "name": "Elixir: atoms",
         "scope": "constant.other.symbol.elixir",
         "settings": {
           "foreground": "#D8DEE9",
           "fontStyle": "bold"
         }
        },
        {
         "name": "Elixir: modules",
         "scope": "variable.other.constant.elixir",
         "settings": {
           "foreground": "#8FBCBB",
         }
        },
      ]
    }
  }

Then got this result:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions