Skip to content

Commit 47c6729

Browse files
committed
3.2.5
1 parent 3c72e4d commit 47c6729

File tree

4 files changed

+95
-33
lines changed

4 files changed

+95
-33
lines changed

changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# changelog
22

3+
## 3.2.5
4+
`2022-6-9`
5+
* `NEW` provide config docs in `LUA_LANGUAGE_SERVER/doc/`
6+
* `FIX` [#1148](https://github.com/sumneko/lua-language-server/issues/1148)
7+
* `FIX` [#1149](https://github.com/sumneko/lua-language-server/issues/1149)
8+
* `FIX` [#1192](https://github.com/sumneko/lua-language-server/issues/1192)
9+
310
## 3.2.4
411
`2022-5-25`
512
* `NEW` settings:

package.json

Lines changed: 86 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,6 @@
2828
"contributes": {
2929
"configuration": {
3030
"properties": {
31-
"Lua.IntelliSense.traceBeSetted": {
32-
"default": false,
33-
"markdownDescription": "%config.IntelliSense.traceBeSetted%",
34-
"scope": "resource",
35-
"type": "boolean"
36-
},
37-
"Lua.IntelliSense.traceFieldInject": {
38-
"default": false,
39-
"markdownDescription": "%config.IntelliSense.traceFieldInject%",
40-
"scope": "resource",
41-
"type": "boolean"
42-
},
43-
"Lua.IntelliSense.traceLocalSet": {
44-
"default": false,
45-
"markdownDescription": "%config.IntelliSense.traceLocalSet%",
46-
"scope": "resource",
47-
"type": "boolean"
48-
},
49-
"Lua.IntelliSense.traceReturn": {
50-
"default": false,
51-
"markdownDescription": "%config.IntelliSense.traceReturn%",
52-
"scope": "resource",
53-
"type": "boolean"
54-
},
5531
"Lua.completion.autoRequire": {
5632
"default": true,
5733
"markdownDescription": "%config.completion.autoRequire%",
@@ -143,6 +119,7 @@
143119
"type": "boolean"
144120
},
145121
"Lua.diagnostics.disable": {
122+
"default": [],
146123
"items": {
147124
"type": "string"
148125
},
@@ -168,6 +145,7 @@
168145
"type": "boolean"
169146
},
170147
"Lua.diagnostics.globals": {
148+
"default": [],
171149
"items": {
172150
"type": "string"
173151
},
@@ -184,9 +162,9 @@
184162
],
185163
"markdownDescription": "%config.diagnostics.ignoredFiles%",
186164
"markdownEnumDescriptions": [
187-
"%config.diagnostics.files.Enable%",
188-
"%config.diagnostics.files.Opened%",
189-
"%config.diagnostics.files.Disable%"
165+
"%config.diagnostics.ignoredFiles.Enable%",
166+
"%config.diagnostics.ignoredFiles.Opened%",
167+
"%config.diagnostics.ignoredFiles.Disable%"
190168
],
191169
"scope": "resource",
192170
"type": "string"
@@ -200,9 +178,9 @@
200178
],
201179
"markdownDescription": "%config.diagnostics.libraryFiles%",
202180
"markdownEnumDescriptions": [
203-
"%config.diagnostics.files.Enable%",
204-
"%config.diagnostics.files.Opened%",
205-
"%config.diagnostics.files.Disable%"
181+
"%config.diagnostics.libraryFiles.Enable%",
182+
"%config.diagnostics.libraryFiles.Opened%",
183+
"%config.diagnostics.libraryFiles.Disable%"
206184
],
207185
"scope": "resource",
208186
"type": "string"
@@ -501,6 +479,16 @@
501479
],
502480
"type": "string"
503481
},
482+
"spell-check": {
483+
"default": "None",
484+
"description": "%config.diagnostics.spell-check%",
485+
"enum": [
486+
"Any",
487+
"Opened",
488+
"None"
489+
],
490+
"type": "string"
491+
},
504492
"trailing-space": {
505493
"default": "Opened",
506494
"description": "%config.diagnostics.trailing-space%",
@@ -969,6 +957,17 @@
969957
],
970958
"type": "string"
971959
},
960+
"spell-check": {
961+
"default": "Information",
962+
"description": "%config.diagnostics.spell-check%",
963+
"enum": [
964+
"Error",
965+
"Warning",
966+
"Information",
967+
"Hint"
968+
],
969+
"type": "string"
970+
},
972971
"trailing-space": {
973972
"default": "Hint",
974973
"description": "%config.diagnostics.trailing-space%",
@@ -1141,8 +1140,17 @@
11411140
"type": "integer"
11421141
},
11431142
"Lua.format.defaultConfig": {
1143+
"additionalProperties": false,
1144+
"default": [],
11441145
"markdownDescription": "%config.format.defaultConfig%",
1146+
"patternProperties": {
1147+
".*": {
1148+
"default": "",
1149+
"type": "string"
1150+
}
1151+
},
11451152
"scope": "resource",
1153+
"title": "defaultConfig",
11461154
"type": "object"
11471155
},
11481156
"Lua.format.enable": {
@@ -1167,6 +1175,12 @@
11671175
"scope": "resource",
11681176
"type": "string"
11691177
},
1178+
"Lua.hint.await": {
1179+
"default": true,
1180+
"markdownDescription": "%config.hint.await%",
1181+
"scope": "resource",
1182+
"type": "boolean"
1183+
},
11701184
"Lua.hint.enable": {
11711185
"default": false,
11721186
"markdownDescription": "%config.hint.enable%",
@@ -1213,6 +1227,12 @@
12131227
"scope": "resource",
12141228
"type": "integer"
12151229
},
1230+
"Lua.hover.expandAlias": {
1231+
"default": true,
1232+
"markdownDescription": "%config.hover.expandAlias%",
1233+
"scope": "resource",
1234+
"type": "boolean"
1235+
},
12161236
"Lua.hover.previewFields": {
12171237
"default": 20,
12181238
"markdownDescription": "%config.hover.previewFields%",
@@ -1238,6 +1258,7 @@
12381258
"type": "integer"
12391259
},
12401260
"Lua.misc.parameters": {
1261+
"default": [],
12411262
"items": {
12421263
"type": "string"
12431264
},
@@ -1401,6 +1422,7 @@
14011422
}
14021423
},
14031424
"scope": "resource",
1425+
"title": "builtin",
14041426
"type": "object"
14051427
},
14061428
"Lua.runtime.fileEncoding": {
@@ -1412,10 +1434,23 @@
14121434
"utf16be"
14131435
],
14141436
"markdownDescription": "%config.runtime.fileEncoding%",
1437+
"markdownEnumDescriptions": [
1438+
"%config.runtime.fileEncoding.utf8%",
1439+
"%config.runtime.fileEncoding.ansi%",
1440+
"%config.runtime.fileEncoding.utf16le%",
1441+
"%config.runtime.fileEncoding.utf16be%"
1442+
],
1443+
"scope": "resource",
1444+
"type": "string"
1445+
},
1446+
"Lua.runtime.meta": {
1447+
"default": "${version} ${language} ${encoding}",
1448+
"markdownDescription": "%config.runtime.meta%",
14151449
"scope": "resource",
14161450
"type": "string"
14171451
},
14181452
"Lua.runtime.nonstandardSymbol": {
1453+
"default": [],
14191454
"items": {
14201455
"enum": [
14211456
"//",
@@ -1463,6 +1498,7 @@
14631498
},
14641499
"Lua.runtime.special": {
14651500
"additionalProperties": false,
1501+
"default": [],
14661502
"markdownDescription": "%config.runtime.special%",
14671503
"patternProperties": {
14681504
".*": {
@@ -1483,6 +1519,7 @@
14831519
}
14841520
},
14851521
"scope": "resource",
1522+
"title": "special",
14861523
"type": "object"
14871524
},
14881525
"Lua.runtime.unicodeName": {
@@ -1501,6 +1538,13 @@
15011538
"LuaJIT"
15021539
],
15031540
"markdownDescription": "%config.runtime.version%",
1541+
"markdownEnumDescriptions": [
1542+
"%config.runtime.version.Lua 5.1%",
1543+
"%config.runtime.version.Lua 5.2%",
1544+
"%config.runtime.version.Lua 5.3%",
1545+
"%config.runtime.version.Lua 5.4%",
1546+
"%config.runtime.version.LuaJIT%"
1547+
],
15041548
"scope": "resource",
15051549
"type": "string"
15061550
},
@@ -1534,6 +1578,15 @@
15341578
"scope": "resource",
15351579
"type": "boolean"
15361580
},
1581+
"Lua.spell.dict": {
1582+
"default": [],
1583+
"items": {
1584+
"type": "string"
1585+
},
1586+
"markdownDescription": "%config.spell.dict%",
1587+
"scope": "resource",
1588+
"type": "array"
1589+
},
15371590
"Lua.telemetry.enable": {
15381591
"default": null,
15391592
"markdownDescription": "%config.telemetry.enable%",
@@ -1582,6 +1635,7 @@
15821635
"type": "boolean"
15831636
},
15841637
"Lua.workspace.library": {
1638+
"default": [],
15851639
"items": {
15861640
"type": "string"
15871641
},
@@ -1621,6 +1675,7 @@
16211675
"type": "boolean"
16221676
},
16231677
"Lua.workspace.userThirdParty": {
1678+
"default": [],
16241679
"items": {
16251680
"type": "string"
16261681
},
@@ -1787,5 +1842,5 @@
17871842
"type": "git",
17881843
"url": "https://github.com/sumneko/lua-language-server"
17891844
},
1790-
"version": "3.2.4"
1845+
"version": "3.2.5"
17911846
}

package/build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local json = require 'json-beautify'
22

3-
local VERSION = "3.2.4"
3+
local VERSION = "3.2.5"
44

55
local package = require 'package.package'
66
local fsu = require 'fs-utility'

server

0 commit comments

Comments
 (0)