You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Press Ctrl + Shift + P and look for and open Preferences: Open Settings (JSON).
Add the following settings to the JSON:
While this is definitely correct (I’ve used it), I think it could be better to use a local Lua language server configuration that is editor-independent. For example, I can stick this in a .luarc.json file in my project:
The VS Code bonus chapter (
book/bonus/vscode.md
) says the following:While this is definitely correct (I’ve used it), I think it could be better to use a local Lua language server configuration that is editor-independent. For example, I can stick this in a
.luarc.json
file in my project:The big advantage is that I now have the Lua language server working not just in VS Code, but also automatically in other editors (such as Zed).
References
The text was updated successfully, but these errors were encountered: