Skip to content

Commit 8db2a51

Browse files
committed
update schema
1 parent 919bd60 commit 8db2a51

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

syntaxes/schema.json

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99
"null"
1010
]
1111
},
12+
"codeAction": {
13+
"default": {
14+
"insertSpace": false
15+
},
16+
"allOf": [
17+
{
18+
"$ref": "#/definitions/EmmyrcCodeAction"
19+
}
20+
]
21+
},
1222
"codeLens": {
1323
"default": {
1424
"enable": true
@@ -190,10 +200,10 @@
190200
]
191201
},
192202
{
193-
"description": "Lua syntax error",
203+
"description": "Doc syntax error",
194204
"type": "string",
195205
"enum": [
196-
"lua-syntax-error"
206+
"doc-syntax-error"
197207
]
198208
},
199209
{
@@ -489,6 +499,13 @@
489499
"enum": [
490500
"duplicate-index"
491501
]
502+
},
503+
{
504+
"description": "generic-constraint-mismatch",
505+
"type": "string",
506+
"enum": [
507+
"generic-constraint-mismatch"
508+
]
492509
}
493510
]
494511
},
@@ -524,6 +541,16 @@
524541
}
525542
]
526543
},
544+
"EmmyrcCodeAction": {
545+
"type": "object",
546+
"properties": {
547+
"insertSpace": {
548+
"description": "Whether to insert space after '---'",
549+
"default": false,
550+
"type": "boolean"
551+
}
552+
}
553+
},
527554
"EmmyrcCodeLen": {
528555
"type": "object",
529556
"properties": {
@@ -758,6 +785,13 @@
758785
"Lua5.4"
759786
]
760787
},
788+
{
789+
"description": "Lua 5.5",
790+
"type": "string",
791+
"enum": [
792+
"Lua5.5"
793+
]
794+
},
761795
{
762796
"description": "Lua Latest",
763797
"type": "string",

0 commit comments

Comments
 (0)