Skip to content

Commit 6b3800b

Browse files
Syntax highlighting for Elixir module names and atoms (#166)
Improved syntax highlighting for Elixir atoms and module names using scopes provided by the JakeBecker.elixir-ls [1,2,3] extension. The scopes also include the VSCode extension ID to document that the added scopes are only available for the specific extension with the given ID and not supported by VSCode out-of-the-box. [1]: https://marketplace.visualstudio.com/items?itemName=JakeBecker.elixir-ls [2]: https://github.com/JakeBecker/vscode-elixir-ls [3]: https://github.com/JakeBecker/vscode-elixir-ls/blob/master/syntaxes/elixir.json Co-authored-by: Arctic Ice Studio <development@arcticicestudio.com> Resolves GH-165
1 parent 0ecfbcc commit 6b3800b

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

themes/nord-color-theme.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,36 @@
694694
"foreground": "#81A1C1"
695695
}
696696
},
697+
{
698+
"name": "[Elixir](JakeBecker.elixir-ls) module names",
699+
"scope": "entity.name.type.module.elixir",
700+
"settings": {
701+
"foreground": "#8FBCBB"
702+
}
703+
},
704+
{
705+
"name": "[Elixir](JakeBecker.elixir-ls) module attributes",
706+
"scope": "variable.other.readwrite.module.elixir",
707+
"settings": {
708+
"foreground": "#D8DEE9",
709+
"fontStyle": "bold"
710+
}
711+
},
712+
{
713+
"name": "[Elixir](JakeBecker.elixir-ls) atoms",
714+
"scope": "constant.other.symbol.elixir",
715+
"settings": {
716+
"foreground": "#D8DEE9",
717+
"fontStyle": "bold"
718+
}
719+
},
720+
{
721+
"name": "[Elixir](JakeBecker.elixir-ls) modules",
722+
"scope": "variable.other.constant.elixir",
723+
"settings": {
724+
"foreground": "#8FBCBB"
725+
}
726+
},
697727
{
698728
"name": "[Go] String Format Placeholder",
699729
"scope": "source.go constant.other.placeholder.go",

0 commit comments

Comments
 (0)