File tree 6 files changed +72
-3
lines changed
6 files changed +72
-3
lines changed Original file line number Diff line number Diff line change 1
1
# changelog
2
2
3
3
## 1.8.0
4
+ ` 2020-12-23 `
4
5
* ` NEW ` runtime: support nonstandard symbol
6
+ * ` NEW ` diagnostic: ` close-non-object `
7
+ * ` FIX ` [ #318 ] ( https://github.com/sumneko/lua-language-server/issues/318 )
5
8
6
9
## 1.7.4
7
10
` 2020-12-20 `
Original file line number Diff line number Diff line change 139
139
"scope" : " resource" ,
140
140
"type" : " string"
141
141
},
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
+ },
142
152
"code-after-break" : {
143
153
"default" : " Opened" ,
144
154
"description" : " %config.diagnostics.code-after-break%" ,
431
441
"scope" : " resource" ,
432
442
"type" : " string"
433
443
},
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
+ },
434
456
"code-after-break" : {
435
457
"default" : " Hint" ,
436
458
"description" : " %config.diagnostics.code-after-break%" ,
991
1013
"type" : " git" ,
992
1014
"url" : " https://github.com/sumneko/lua-language-server"
993
1015
},
994
- "version" : " 1.7.4 "
1016
+ "version" : " 1.8.0 "
995
1017
}
Original file line number Diff line number Diff line change 1
1
local json = require ' json-beautify'
2
2
3
- local VERSION = " 1.7.4 "
3
+ local VERSION = " 1.8.0 "
4
4
5
5
local package = require ' package.package'
6
6
local fsu = require ' fs-utility'
Original file line number Diff line number Diff line change 123
123
"scope" : " resource" ,
124
124
"type" : " string"
125
125
},
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
+ },
126
136
"code-after-break" : {
127
137
"default" : " Opened" ,
128
138
"description" : " %config.diagnostics.code-after-break%" ,
415
425
"scope" : " resource" ,
416
426
"type" : " string"
417
427
},
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
+ },
418
440
"code-after-break" : {
419
441
"default" : " Hint" ,
420
442
"description" : " %config.diagnostics.code-after-break%" ,
Original file line number Diff line number Diff line change 123
123
"scope" : " resource" ,
124
124
"type" : " string"
125
125
},
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
+ },
126
136
"code-after-break" : {
127
137
"default" : " Opened" ,
128
138
"description" : " %config.diagnostics.code-after-break%" ,
415
425
"scope" : " resource" ,
416
426
"type" : " string"
417
427
},
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
+ },
418
440
"code-after-break" : {
419
441
"default" : " Hint" ,
420
442
"description" : " %config.diagnostics.code-after-break%" ,
You can’t perform that action at this time.
0 commit comments