Skip to content

Commit ed1141e

Browse files
authored
Merge pull request #60 from xiyaowong/patch-1
fix: `format.enable` default true
2 parents fc8c512 + 252928c commit ed1141e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package/configuration.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ local config = {
506506
["Lua.format.enable"] = {
507507
scope = 'resource',
508508
type = "boolean",
509-
default = "true",
509+
default = true,
510510
markdownDescription = "%config.format.enable%"
511511
},
512512
["Lua.format.defaultConfig"] = {

setting/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@
11991199
"type": "object"
12001200
},
12011201
"format.enable": {
1202-
"default": "true",
1202+
"default": true,
12031203
"markdownDescription": "Enable code formatter.",
12041204
"scope": "resource",
12051205
"type": "boolean"
@@ -1818,4 +1818,4 @@
18181818
},
18191819
"title": "setting",
18201820
"type": "object"
1821-
}
1821+
}

0 commit comments

Comments
 (0)