nixos/lua-lsp/meta/3rd/example/config.json

23 lines
701 B
JSON
Raw Normal View History

{
// 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"
}
}
}