mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Update Lua grammar (#177798)
This commit is contained in:
parent
226b09243f
commit
a90c9d0ab6
|
@ -6,7 +6,7 @@
|
||||||
"git": {
|
"git": {
|
||||||
"name": "sumneko/lua.tmbundle",
|
"name": "sumneko/lua.tmbundle",
|
||||||
"repositoryUrl": "https://github.com/sumneko/lua.tmbundle",
|
"repositoryUrl": "https://github.com/sumneko/lua.tmbundle",
|
||||||
"commitHash": "57be7c5cf8fa173f5f39806822725e503932ab45"
|
"commitHash": "dfdf6c33f33b7d478c474afbe1b6b3cd2e99b716"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"licenseDetail": [
|
"licenseDetail": [
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
"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."
|
"Once accepted there, we are happy to receive an update request."
|
||||||
],
|
],
|
||||||
"version": "https://github.com/sumneko/lua.tmbundle/commit/57be7c5cf8fa173f5f39806822725e503932ab45",
|
"version": "https://github.com/sumneko/lua.tmbundle/commit/dfdf6c33f33b7d478c474afbe1b6b3cd2e99b716",
|
||||||
"name": "Lua",
|
"name": "Lua",
|
||||||
"scopeName": "source.lua",
|
"scopeName": "source.lua",
|
||||||
"patterns": [
|
"patterns": [
|
||||||
|
@ -77,7 +77,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"match": "(?<![\\w\\d.])0[xX][0-9A-Fa-f]+(\\.[0-9A-Fa-f]+)?([eE]-?\\d*)?([pP][-+]\\d+)?",
|
"match": "(?<![\\w\\d.])0[xX][0-9A-Fa-f]+(\\.[0-9A-Fa-f]*)?([eE]-?\\d*)?([pP][-+]\\d+)?",
|
||||||
|
"name": "constant.numeric.float.hexadecimal.lua"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"match": "(?<![\\w\\d.])0[xX]\\.[0-9A-Fa-f]+([eE]-?\\d*)?([pP][-+]\\d+)?",
|
||||||
"name": "constant.numeric.float.hexadecimal.lua"
|
"name": "constant.numeric.float.hexadecimal.lua"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -85,7 +89,11 @@
|
||||||
"name": "constant.numeric.integer.hexadecimal.lua"
|
"name": "constant.numeric.integer.hexadecimal.lua"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"match": "(?<![\\w\\d.])\\d+(\\.\\d+)?([eE]-?\\d*)?",
|
"match": "(?<![\\w\\d.])\\d+(\\.\\d*)?([eE]-?\\d*)?",
|
||||||
|
"name": "constant.numeric.float.lua"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"match": "(?<![\\w\\d.])\\.\\d+([eE]-?\\d*)?",
|
||||||
"name": "constant.numeric.float.lua"
|
"name": "constant.numeric.float.lua"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue