mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Update grammars
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/tgjones/shaders-tmLanguage/commit/cd1ef40f549f9ce2b9e6b73498688de114a85382",
|
||||
"version": "https://github.com/tgjones/shaders-tmLanguage/commit/87c0dca3a39170dbd7ee7e277db4f915fb2de14a",
|
||||
"name": "HLSL",
|
||||
"scopeName": "source.hlsl",
|
||||
"patterns": [
|
||||
@@ -19,16 +19,20 @@
|
||||
"end": "$"
|
||||
},
|
||||
{
|
||||
"name": "constant.numeric.hlsl",
|
||||
"match": "\\b([0-9]+\\.?[0-9]*)\\b"
|
||||
"name": "constant.numeric.decimal.hlsl",
|
||||
"match": "\\b[0-9]+\\.[0-9]*(F|f)?\\b"
|
||||
},
|
||||
{
|
||||
"name": "constant.numeric.hlsl",
|
||||
"match": "\\b(\\.[0-9]+)\\b"
|
||||
"name": "constant.numeric.decimal.hlsl",
|
||||
"match": "(\\.([0-9]+)(F|f)?)\\b"
|
||||
},
|
||||
{
|
||||
"name": "constant.numeric.decimal.hlsl",
|
||||
"match": "\\b([0-9]+(F|f)?)\\b"
|
||||
},
|
||||
{
|
||||
"name": "constant.numeric.hex.hlsl",
|
||||
"match": "\\b(0x[0-9A-F]+)\\b"
|
||||
"match": "\\b(0(x|X)[0-9a-fA-F]+)\\b"
|
||||
},
|
||||
{
|
||||
"name": "constant.language.hlsl",
|
||||
|
||||
Reference in New Issue
Block a user