vscode-phoenix icon indicating copy to clipboard operation
vscode-phoenix copied to clipboard

Undefined language contribution

Open aegatlin opened this issue 3 years ago • 1 comments

First of all, you are a hero for enabling this syntax support. 👏

Second, there seems to be a bug related to an undefined language contribution. See the screenshot. It doesn't affect the syntax highlighting from what I can tell.

Screen Shot 2021-09-13 at 8 16 16 am

aegatlin avatar Sep 12 '21 22:09 aegatlin

"language" is missing from the package.json file. Here is a sample of the current file:

{
   "scopeName": "source.elixir.heex",
   "path": "./syntaxes/elixir-heex.json",
   "injectTo": [
      "source.elixir"
   ]
}

Below is an example of how to fix it:

{
   "language": "elixir",
   "scopeName": "source.elixir.heex",
   "path": "./syntaxes/elixir-heex.json",
   "injectTo": [
      "source.elixir"
   ]
}

I'm not sure if you meant to add elixir as a language. Please let me know if that's the case so I can fix it, and submit a pull request.

karamfd avatar Aug 08 '22 23:08 karamfd