Created
April 8, 2025 05:23
-
-
Save FatCatLikesBeer/0e65a91b5125db5af6e82ae1592c1dd0 to your computer and use it in GitHub Desktop.
.luarc.json Scaffolding for LÖVE2D types generated by EmmyLua/Emmy-love-api from love2d-community/love-api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", | |
"runtime": { | |
"version": "LuaJIT" | |
}, | |
"diagnostics": { | |
"globals": [ | |
"love" | |
] | |
}, | |
"workspace": { | |
"library": [ | |
"./types", | |
"${3rd}/love2d/library" | |
], | |
"checkThirdParty": "Apply" | |
}, | |
"telemetry": { | |
"enable": false | |
}, | |
"hover": { | |
"enable": true | |
}, | |
"runtime.special": { | |
"love.filesystem.load": "loadfile" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clone the love2d-community/love-api. Follow instructions in EmmyLua/Emmy-love-api github page. Add the 'api' directory, along with this .luarc.json files into the working directory of your LÖVE2D project. And hope the nvim LSP works itself out.