Implement HLSL syntax highlighting

And use HLSL grammar to highlight CG blocks in ShaderLab shaders.
This commit is contained in:
Tim Jones
2017-02-07 23:08:01 +08:00
parent bcff7c60e5
commit 67560d3192
8 changed files with 820 additions and 219 deletions

View File

@@ -6,7 +6,7 @@
"contributes": {
"languages": [{
"id": "shaderlab",
"extensions": [".shader", ".cginc"],
"extensions": [".shader"],
"aliases": ["ShaderLab", "shaderlab"],
"configuration": "./language-configuration.json"
}],