File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,30 @@ These definitions require [`lua-language-server`](//github.com/LuaLS/lua-languag
2020- Append the following to your ` settings.json ` file (either user or workspace):
2121``` json
2222{
23- "Lua.workspace.library" : [
24- " <library_location>/library"
23+ "Lua.workspace.checkThirdParty" : " Ask" ,
24+ "Lua.workspace.checkThirdParty" : [
25+ " <library_location>"
2526 ]
2627}
2728```
29+ - Restarting VSCode and entering a DFHack-related Lua file should prompt you to load the library.
2830
2931### Helix
3032
3133- Make sure you have ` lua-langauge-server ` installed, you can follow [ their instructions] ( //luals.github.io/#other-install ) .
3234- Add the following lines in a ` .luarc.json ` file at the root of your workspace:
3335``` json
3436{
37+ "runtime" : {
38+ "version" : " 5.3" ,
39+ "special" : {
40+ "arg_error" : " error" ,
41+ "dfhack.error" : " error" ,
42+ "mkmodule" : " require" ,
43+ "qerror" : " error" ,
44+ "reqscript" : " dofile"
45+ }
46+ },
3547 "workspace" : {
3648 "library" : [
3749 " <library_location>/library"
You can’t perform that action at this time.
0 commit comments