Skip to content

Commit d93bbdb

Browse files
committed
Update README.md
1 parent 1e23fd8 commit d93bbdb

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)