Skip to content

Commit 4752429

Browse files
committed
1.8.0
1 parent a70ad6b commit 4752429

File tree

6 files changed

+72
-3
lines changed

6 files changed

+72
-3
lines changed

changelog.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# changelog
22

33
## 1.8.0
4+
`2020-12-23`
45
* `NEW` runtime: support nonstandard symbol
6+
* `NEW` diagnostic: `close-non-object`
7+
* `FIX` [#318](https://github.com/sumneko/lua-language-server/issues/318)
58

69
## 1.7.4
710
`2020-12-20`

package.json

+23-1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,16 @@
139139
"scope": "resource",
140140
"type": "string"
141141
},
142+
"close-non-object": {
143+
"default": "Any",
144+
"description": "%config.diagnostics.close-non-object%",
145+
"enum": [
146+
"Any",
147+
"Opened"
148+
],
149+
"scope": "resource",
150+
"type": "string"
151+
},
142152
"code-after-break": {
143153
"default": "Opened",
144154
"description": "%config.diagnostics.code-after-break%",
@@ -431,6 +441,18 @@
431441
"scope": "resource",
432442
"type": "string"
433443
},
444+
"close-non-object": {
445+
"default": "Warning",
446+
"description": "%config.diagnostics.close-non-object%",
447+
"enum": [
448+
"Error",
449+
"Warning",
450+
"Information",
451+
"Hint"
452+
],
453+
"scope": "resource",
454+
"type": "string"
455+
},
434456
"code-after-break": {
435457
"default": "Hint",
436458
"description": "%config.diagnostics.code-after-break%",
@@ -991,5 +1013,5 @@
9911013
"type": "git",
9921014
"url": "https://github.com/sumneko/lua-language-server"
9931015
},
994-
"version": "1.7.4"
1016+
"version": "1.8.0"
9951017
}

package/build.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local json = require 'json-beautify'
22

3-
local VERSION = "1.7.4"
3+
local VERSION = "1.8.0"
44

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

server

setting/schema-zh-cn.json

+22
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,16 @@
123123
"scope": "resource",
124124
"type": "string"
125125
},
126+
"close-non-object": {
127+
"default": "Any",
128+
"description": "%config.diagnostics.close-non-object%",
129+
"enum": [
130+
"Any",
131+
"Opened"
132+
],
133+
"scope": "resource",
134+
"type": "string"
135+
},
126136
"code-after-break": {
127137
"default": "Opened",
128138
"description": "%config.diagnostics.code-after-break%",
@@ -415,6 +425,18 @@
415425
"scope": "resource",
416426
"type": "string"
417427
},
428+
"close-non-object": {
429+
"default": "Warning",
430+
"description": "%config.diagnostics.close-non-object%",
431+
"enum": [
432+
"Error",
433+
"Warning",
434+
"Information",
435+
"Hint"
436+
],
437+
"scope": "resource",
438+
"type": "string"
439+
},
418440
"code-after-break": {
419441
"default": "Hint",
420442
"description": "%config.diagnostics.code-after-break%",

setting/schema.json

+22
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,16 @@
123123
"scope": "resource",
124124
"type": "string"
125125
},
126+
"close-non-object": {
127+
"default": "Any",
128+
"description": "%config.diagnostics.close-non-object%",
129+
"enum": [
130+
"Any",
131+
"Opened"
132+
],
133+
"scope": "resource",
134+
"type": "string"
135+
},
126136
"code-after-break": {
127137
"default": "Opened",
128138
"description": "%config.diagnostics.code-after-break%",
@@ -415,6 +425,18 @@
415425
"scope": "resource",
416426
"type": "string"
417427
},
428+
"close-non-object": {
429+
"default": "Warning",
430+
"description": "%config.diagnostics.close-non-object%",
431+
"enum": [
432+
"Error",
433+
"Warning",
434+
"Information",
435+
"Hint"
436+
],
437+
"scope": "resource",
438+
"type": "string"
439+
},
418440
"code-after-break": {
419441
"default": "Hint",
420442
"description": "%config.diagnostics.code-after-break%",

0 commit comments

Comments
 (0)