Skip to content

Commit fbbcb96

Browse files
committed
rename config to settings
1 parent d86c2c4 commit fbbcb96

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

meta/3rd/Cocos4.0/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Cocos",
33
"files": ["cocos"],
4-
"config": {
4+
"settings": {
55
"Lua.runtime.version": "LuaJIT"
66
}
77
}

meta/3rd/Defold/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "Defold",
33
"files" : ["game.project", "*%.script", "*%.gui_script"],
4-
"config" : {
4+
"settings" : {
55
"Lua.runtime.version" : "Lua 5.1",
66
"Lua.workspace.library" : [".internal"],
77
"Lua.workspace.ignoreDir" : [".internal"],

meta/3rd/Jass/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"words" : ["jass%.common"],
3-
"config" : {
3+
"settings" : {
44
"Lua.runtime.version": "Lua 5.3"
55
}
66
}

meta/3rd/OpenResty/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"resty%.%w+",
1111
"ngx%.%w+"
1212
],
13-
"config" : {
13+
"settings" : {
1414
"Lua.runtime.version" : "LuaJIT",
1515
"Lua.diagnostics.globals" : [
1616
"ngx"

meta/3rd/busted/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"config": {
2+
"settings": {
33
"Lua.workspace.library": [
44
"${3rd}/luassert/library"
55
]

meta/3rd/example/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// list or matched file names. `.lua`, `.dll` and `.so` only
77
"files" : ["thisIsAnExampleFile%.ifItExistsInWorkSpace%.thenTryLoadThisLibrary%.lua"],
88
// lsit of settings to be changed
9-
"config" : {
9+
"settings" : {
1010
"Lua.runtime.version" : "LuaJIT",
1111
"Lua.diagnostics.globals" : [
1212
"global1",

meta/3rd/lfs/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "luafilesystem",
33
"words" : [ "require[%s%(\"']+lfs[%)\"']" ],
4-
"config" : {
4+
"settings" : {
55
"Lua.diagnostics.globals" : [
66
"lfs"
77
]

meta/3rd/love2d/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "LÖVE",
33
"words" : ["love%.%w+"],
4-
"config" : {
4+
"settings" : {
55
"Lua.runtime.version" : "LuaJIT"
66
}
77
}

meta/3rd/lovr/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "LÖVR",
33
"words" : ["lovr%.%w+"],
4-
"config" : {
4+
"settings" : {
55
"Lua.runtime.version" : "LuaJIT"
66
}
77
}

script/library.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ end
352352

353353
local function apply3rd(uri, cfg, onlyMemory)
354354
local changes = {}
355-
if cfg.config then
356-
for key, value in pairs(cfg.config) do
355+
if cfg.settings then
356+
for key, value in pairs(cfg.settings) do
357357
if type(value) == 'table' then
358358
if #value == 0 then
359359
for k, v in pairs(value) do

0 commit comments

Comments
 (0)