summaryrefslogtreecommitdiff
path: root/meta/3rd/example/config.json
blob: 79170468f5b8d93ebe14f22eb2a207e1a23b7866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
    // if not set, the folder name will be used
    "name"    : "Example",
    // list of matched words
    "words"   : ["thisIsAnExampleWord%.ifItExistsInFile%.thenTryLoadThisLibrary"],
    // list or matched file names. `.lua`, `.dll` and `.so` only
    "files"   : ["thisIsAnExampleFile%.ifItExistsInWorkSpace%.thenTryLoadThisLibrary%.lua"],
    // lsit of settings to be changed
    "settings"  : {
        "Lua.runtime.version" : "LuaJIT",
        "Lua.diagnostics.globals" : [
            "global1",
            "global2"
        ],
        "Lua.runtime.special" : {
            "include" : "require"
        },
        "Lua.runtime.builtin" : {
            "io" : "disable"
        }
    }
}