Skip to content

Conversation

@XNTEABDSC
Copy link
Contributor

Added typedefs file and .luarc.json for vscode Lua Language Server. Now Lua Language Server can find some actual bugs, and provides comments.

manualfire_desc = [[Fire Special Weapon: Fire a cluster of temporary shield generators.]],
},

selfDestructAs = [[ESTOR_BUILDING]],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should become explodeAs rather than deleted. I applied that change directly to master though, thanks for noticing. dc91e3a

@@ -0,0 +1,3 @@
[submodule "recoil-lua-library"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scary, do submodules with with stuff like rapid or infra steam depot?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chaff file?

return chunk, str2
end


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

random whitespace change in an otherwise untouched file, here and in unit_tech_k.lua

@GoogleFrog
Copy link
Contributor

I am not sure about this. It needs a well written tutorial on the wiki for how to set it up. Also I am concerned that this will just bitrot.

@XNTEABDSC
Copy link
Contributor Author

Now Im not sure about it as well... we can have typedefs files elsewhere (we can set .luarc.json),
but .luarc.json need to be at root directory (or should we gitignore?).
workspace file is to make scripts/ a individual directory for its .luarc.json to work (as far as I know) (yes its name needs to be changed).
Should we have all this in Zero-K, or have a tutorial about how to set it up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants