mcshader-lsp/server/src/linksProvider.ts
Noah Santschi-Cooney 41995c3f38 Created GLSLangProvider class with API for linting and downloading glslangValidator
Moved glslang stuff from Config to GLSLangProvider. ConfigProvider invokes GLSLangValidator to prompt and download glslangValidator instead
2019-08-11 21:23:49 +01:00

8 lines
No EOL
390 B
TypeScript

import * as vsclang from 'vscode-languageserver'
import { linkLog as log} from './logging'
import { formatURI } from './utils'
export function getDocumentLinks(file: string): vsclang.DocumentLink[] {
log.debug(() => formatURI(file) + ' ' + file)
return [vsclang.DocumentLink.create(vsclang.Range.create(8, 0, 8, 32), 'file:///e:\\shaderpacks\\Sushi-Shader\\shaders\\composite1.vsh')]
}