Skip to content

Commit 62606a7

Browse files
committedDec 16, 2024·
recover configuration builder
1 parent 41e44d9 commit 62606a7

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed
 

‎package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -2639,7 +2639,7 @@
26392639
"type": "boolean"
26402640
},
26412641
"Lua.hover.previewFields": {
2642-
"default": 50,
2642+
"default": 10,
26432643
"markdownDescription": "%config.hover.previewFields%",
26442644
"scope": "resource",
26452645
"type": "integer"
@@ -3114,6 +3114,12 @@
31143114
"scope": "resource",
31153115
"type": "boolean"
31163116
},
3117+
"Lua.type.inferTableSize": {
3118+
"default": 10,
3119+
"markdownDescription": "%config.type.inferTableSize%",
3120+
"scope": "resource",
3121+
"type": "integer"
3122+
},
31173123
"Lua.type.weakNilCheck": {
31183124
"default": false,
31193125
"markdownDescription": "%config.type.weakNilCheck%",

‎package/build.lua

+11
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ package.version = VERSION
1616
-- isPreReleaseVersion = false,
1717
-- preRelease = false,
1818
-- }
19+
package.contributes.configuration = {
20+
title = 'Lua',
21+
type = 'object',
22+
properties = require 'server.tools.configuration',
23+
}
24+
package.contributes.semanticTokenScopes = {
25+
{
26+
language = 'lua',
27+
scopes = require 'package.semanticTokenScope',
28+
}
29+
}
1930

2031
local encodeOption = {
2132
newline = '\r\n',

0 commit comments

Comments
 (0)
Please sign in to comment.