summaryrefslogtreecommitdiff
path: root/meta/3rd
diff options
context:
space:
mode:
authorC3pa <41503714+C3pa@users.noreply.github.com>2022-12-27 09:55:36 +0100
committerC3pa <41503714+C3pa@users.noreply.github.com>2022-12-27 09:55:36 +0100
commit1b1f24eebc676945c59dad5eb64ccc022a5e31fb (patch)
treeb7b258d08e57238ace992a1f24fc773d742046fe /meta/3rd
parent21030f41d13e00a4a123f8e499f3415c4b8498dc (diff)
downloadlua-language-server-1b1f24eebc676945c59dad5eb64ccc022a5e31fb.zip
Implement LOVE: love.filesystem.load should be treated like loadfile
Diffstat (limited to 'meta/3rd')
-rw-r--r--meta/3rd/love2d/config.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/3rd/love2d/config.json b/meta/3rd/love2d/config.json
index ccb483b3..d44784d3 100644
--- a/meta/3rd/love2d/config.json
+++ b/meta/3rd/love2d/config.json
@@ -2,6 +2,9 @@
"name" : "LÖVE",
"words" : ["love%.%w+"],
"settings" : {
- "Lua.runtime.version" : "LuaJIT"
+ "Lua.runtime.version" : "LuaJIT",
+ "Lua.runtime.special" : {
+ "love.filesystem.load" : "loadfile"
+ }
}
}