summaryrefslogtreecommitdiff
path: root/meta/3rd/example/config.json
blob: e6a040d135b6ff48ac52f20f2d033fdbb3c35e8b (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"],
    // list 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"
        }
    }
}