Skip to content

Commit 6aa6768

Browse files
committed
2.4.6
1 parent 08ab6d9 commit 6aa6768

File tree

6 files changed

+84
-3
lines changed

6 files changed

+84
-3
lines changed

changelog.md

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

3+
## 2.4.6
4+
`2021-10-26`
5+
* `NEW` diagnostic: `redundant-return`
6+
* `FIX` [#744](https://github.com/sumneko/lua-language-server/issues/744)
7+
* `FIX` [#748](https://github.com/sumneko/lua-language-server/issues/748)
8+
* `FIX` [#749](https://github.com/sumneko/lua-language-server/issues/749)
9+
* `FIX` [#752](https://github.com/sumneko/lua-language-server/issues/752)
10+
* `FIX` [#753](https://github.com/sumneko/lua-language-server/issues/753)
11+
* `FIX` [#756](https://github.com/sumneko/lua-language-server/issues/756)
12+
* `FIX` [#758](https://github.com/sumneko/lua-language-server/issues/758)
13+
* `FIX` [#760](https://github.com/sumneko/lua-language-server/issues/760)
14+
315
## 2.4.5
416
`2021-10-18`
517
* `FIX` accidentally load lua files from user workspace

package.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,17 @@
416416
"scope": "resource",
417417
"type": "string"
418418
},
419+
"redundant-return": {
420+
"default": "Opened",
421+
"description": "%config.diagnostics.redundant-return%",
422+
"enum": [
423+
"Any",
424+
"Opened",
425+
"None"
426+
],
427+
"scope": "resource",
428+
"type": "string"
429+
},
419430
"redundant-value": {
420431
"default": "Opened",
421432
"description": "%config.diagnostics.redundant-value%",
@@ -841,6 +852,18 @@
841852
"scope": "resource",
842853
"type": "string"
843854
},
855+
"redundant-return": {
856+
"default": "Warning",
857+
"description": "%config.diagnostics.redundant-return%",
858+
"enum": [
859+
"Error",
860+
"Warning",
861+
"Information",
862+
"Hint"
863+
],
864+
"scope": "resource",
865+
"type": "string"
866+
},
844867
"redundant-value": {
845868
"default": "Warning",
846869
"description": "%config.diagnostics.redundant-value%",
@@ -1550,5 +1573,5 @@
15501573
"type": "git",
15511574
"url": "https://github.com/sumneko/lua-language-server"
15521575
},
1553-
"version": "2.4.5"
1576+
"version": "2.4.6"
15541577
}

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 = "2.4.5"
3+
local VERSION = "2.4.6"
44

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

server

setting/schema-zh-cn.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,17 @@
459459
"scope": "resource",
460460
"type": "string"
461461
},
462+
"redundant-return": {
463+
"default": "Opened",
464+
"description": "%config.diagnostics.redundant-return%",
465+
"enum": [
466+
"Any",
467+
"Opened",
468+
"None"
469+
],
470+
"scope": "resource",
471+
"type": "string"
472+
},
462473
"redundant-value": {
463474
"default": "Opened",
464475
"description": "%config.diagnostics.redundant-value%",
@@ -884,6 +895,18 @@
884895
"scope": "resource",
885896
"type": "string"
886897
},
898+
"redundant-return": {
899+
"default": "Warning",
900+
"description": "%config.diagnostics.redundant-return%",
901+
"enum": [
902+
"Error",
903+
"Warning",
904+
"Information",
905+
"Hint"
906+
],
907+
"scope": "resource",
908+
"type": "string"
909+
},
887910
"redundant-value": {
888911
"default": "Warning",
889912
"description": "%config.diagnostics.redundant-value%",

setting/schema.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,17 @@
459459
"scope": "resource",
460460
"type": "string"
461461
},
462+
"redundant-return": {
463+
"default": "Opened",
464+
"description": "%config.diagnostics.redundant-return%",
465+
"enum": [
466+
"Any",
467+
"Opened",
468+
"None"
469+
],
470+
"scope": "resource",
471+
"type": "string"
472+
},
462473
"redundant-value": {
463474
"default": "Opened",
464475
"description": "%config.diagnostics.redundant-value%",
@@ -884,6 +895,18 @@
884895
"scope": "resource",
885896
"type": "string"
886897
},
898+
"redundant-return": {
899+
"default": "Warning",
900+
"description": "%config.diagnostics.redundant-return%",
901+
"enum": [
902+
"Error",
903+
"Warning",
904+
"Information",
905+
"Hint"
906+
],
907+
"scope": "resource",
908+
"type": "string"
909+
},
887910
"redundant-value": {
888911
"default": "Warning",
889912
"description": "%config.diagnostics.redundant-value%",

0 commit comments

Comments
 (0)