Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vscode-lua-srb2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LJ Sonic
vscode-lua-srb2
Commits
80b494cb
Commit
80b494cb
authored
3 years ago
by
最萌小汐
Browse files
Options
Downloads
Patches
Plain Diff
update schema
parent
96bd124d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
setting/build.lua
+6
-4
6 additions, 4 deletions
setting/build.lua
setting/schema-zh-cn.json
+111
-803
111 additions, 803 deletions
setting/schema-zh-cn.json
setting/schema.json
+111
-803
111 additions, 803 deletions
setting/schema.json
with
228 additions
and
1610 deletions
setting/build.lua
+
6
−
4
View file @
80b494cb
...
@@ -25,14 +25,16 @@ local function copyWithNLS(t, callback)
...
@@ -25,14 +25,16 @@ local function copyWithNLS(t, callback)
elseif
type
(
v
)
==
'table'
then
elseif
type
(
v
)
==
'table'
then
v
=
copyWithNLS
(
v
,
callback
)
v
=
copyWithNLS
(
v
,
callback
)
end
end
nt
[
k
]
=
v
if
type
(
k
)
==
'string'
and
k
:
sub
(
1
,
#
'Lua.'
)
==
'Lua.'
then
if
type
(
k
)
==
'string'
and
k
:
sub
(
1
,
#
'Lua.'
)
==
'Lua.'
then
local
shortKey
=
k
:
sub
(
#
'Lua.'
+
1
)
local
ref
=
{
local
ref
=
{
[
'$ref'
]
=
'#/properties/'
..
k
[
'$ref'
]
=
'#/properties/'
..
shortKey
}
}
addSplited
(
nt
,
k
,
ref
)
addSplited
(
nt
,
shortKey
,
ref
)
addSplited
(
nt
,
k
:
sub
(
#
'Lua.'
+
1
),
ref
)
nt
[
k
]
=
nil
nt
[
shortKey
]
=
v
end
end
nt
[
k
]
=
v
end
end
return
nt
return
nt
end
end
...
...
This diff is collapsed.
Click to expand it.
setting/schema-zh-cn.json
+
111
−
803
View file @
80b494cb
This diff is collapsed.
Click to expand it.
setting/schema.json
+
111
−
803
View file @
80b494cb
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment