import { registerExtension } from 'vscode/extensions';

const manifest = {"name":"scala","displayName":"Scala Syntax (official)","description":"Official Scala Syntax","version":"0.5.7","publisher":"scala-lang","license":"SEE LICENSE IN LICENSE.md","engines":{"vscode":"^1.5.0"},"homepage":"https://github.com/scala/vscode-scala-syntax/blob/main/README.md","repository":{"type":"git","url":"https://github.com/scala/vscode-scala-syntax.git"},"icon":"images/smooth-spiral.png","categories":["Programming Languages"],"contributes":{"languages":[{"id":"scala","aliases":["Scala","scala"],"extensions":[".scala",".sbt",".sc"],"configuration":"./language-configuration.json"}],"grammars":[{"language":"scala","scopeName":"source.scala","path":"./syntaxes/Scala.tmLanguage.json"}]}};

const { registerFileUrl, whenReady } = registerExtension(manifest);


registerFileUrl('syntaxes/Scala.tmLanguage.json', new URL('../assets/scala-lang.scala-0.5.7.vsix/Scala.tmLanguage.json', import.meta.url).href, 'application/json');

registerFileUrl('language-configuration.json', new URL('../assets/scala-lang.scala-0.5.7.vsix/language-configuration.json', import.meta.url).href, 'application/json');

registerFileUrl('package.json', new URL('../assets/scala-lang.scala-0.5.7.vsix/package.json', import.meta.url).href, 'application/json');

export { whenReady };
